Where is the application ?
Where is the application ?
- Subject: Where is the application ?
- From: "Philippe GRUCHET" <email@hidden>
- Date: Wed, 09 Oct 2002 00:26:47 +0200
Hello,
Sometimes (1), when opening a script that contains a tell application block,
AppleScript activates an internal application search command when this
script doesn't know where is the application (2).
Example:
-- myScript contains a tell app "QuickTime Player" block
load script alias myScript
-- AppleScript returns:
choose file of type {"APPL", "APPC", "APPD", "cdev", "appe", "adrp", "dfil",
"INIT", "FNDR"} ,
with prompt "Where is QuickTime Player ?"
(Can occur with any other app.)
Each time, the user has to select the application via the search dialog:
very annoying!
Is there a way to handle and to avoid this search dialog?
Perhaps by routing the appropriate event (3) to the Sherlock engine:
if <<event blah blah>> is result then
-- instruction
end if
???
(1) & (2): when the path is not found in the script because the script
itself has not been saved on the same machine than the user's machine.
(3): About the application search dialog, I get sometimes:
<<event ascrgdut>> 0
And I don't know what's the meaning of this event.
Many thanks in advance!
Regards,
Philippe
_______________________________________________
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.