Re: Eluding the Where is Application Dialog.
Re: Eluding the Where is Application Dialog.
- Subject: Re: Eluding the Where is Application Dialog.
- From: Emmanuel <email@hidden>
- Date: Sun, 13 Apr 2003 01:05:50 +0200
At 9:11 PM -0400 11/04/03, Jason Bourque wrote:
Hello,
I have a script that processes multiple apps depending on which app it runs
across. But in order to do this I have a handler for each application with a
tell application block in it.
So when I run this script on machines that don't have all of the apps the
script can handle the script asks me to find the missing applications. How
can I avoid this? A double tell? Or maybe using terms from.
I don't know for those. The "tell application thePath" method with
raw codes is reliable.
In short:
1. you use "Finder", its "creator type (?) of every process" and its
"application file id", to get the name/the full path of the
application and to launch it when appropriate. name or full path
depends: when you have several versions with same signature (e.g.
QTPlayer OS9 and QTPlayer OSX), full path helps controlling the
version, OTOH it's a bit a longer script.
2. you have to produce raw code, you must use the "tell ..." feature
of Smile: you save a window linked to the app with "tell ..." (jj's
usage) or you use "copy translate" (the official usage).
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.