Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
- Subject: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
- From: Jim Correia <email@hidden>
- Date: Sun, 8 Feb 2009 07:54:30 -0500
I have some AppleScripts used at runtime in a product that I've been
including as bundle resources. (Saved as compiled scripts.)
I'd prefer to revision the scripts as plain text, and compile the at
build time.
The Compile AppleScripts build phase superficially does what I want.
It the use of this build phase supported/recommended outside of
AppleScript Studio and Automat Action type projects?
Looking at the build log, I see two undocumented flags being passed to
osacompile:
-i /System/Library/Frameworks/AppleScriptKit.framework -U
"foo.applescript"
The latter appears to be responsible for this property being added to
my script:
property ASDScriptUniqueIdentifier : "foo.applescript"
What is the significance of the -i flag and argument?
- Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden