Prevent the appearance of the "Choose Application" dialog during compilation/execution
Prevent the appearance of the "Choose Application" dialog during compilation/execution
- Subject: Prevent the appearance of the "Choose Application" dialog during compilation/execution
- From: "email@hidden" <email@hidden>
- Date: Wed, 12 Mar 2008 23:06:15 +0000
Hello list
Whilst compiling/executing against an application (say "duff") that cannot be found ie:
tell application "duff" end tell
the "Choose Application" dialog appears. I know why it appears and that it wants the application "duffs" dictionary, without which not much can happen.
But is it possible to request that in such cases compilation/execution simply fails?
I am compiling my scripts from within a cocoa app using the OSAScript class of the OSAKit: OSAScript - (BOOL)compileAndReturnError:(NSDictionary **)errorInfo;
I don't mind digging down further into the OSA if a solution is in there somewhere.
Regards
Jonathan |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden