Re: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
Re: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
- Subject: Re: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 10 Feb 2009 10:34:53 -0800
- Thread-topic: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
On Sun, 8 Feb 2009 07:54:30 -0500, Jim Correia <email@hidden> said:
>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?
Perhaps that is what makes the AppleScriptKit dictionary's terminology
available to the script. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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