Test for launched from (Apple)Script?
Test for launched from (Apple)Script?
- Subject: Test for launched from (Apple)Script?
- From: "McLaughlin, Michael P." <email@hidden>
- Date: Wed, 10 Nov 2010 13:34:09 -0500
- Acceptlanguage: en-US
- Thread-topic: Test for launched from (Apple)Script?
Is there any standard way for a Cocoa app to test whether it was launched
from a script, esp. AppleScript? I would like to set a flag to disable
dialogs so that users could run the app in (faceless) batch mode.
Thanks.
--
Mike McLaughlin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden