• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Saturn Profiler?
  • Next by Date: LLVM OpenMP
  • Previous by thread: Re: Saturn Profiler?
  • Next by thread: LLVM OpenMP
  • Index(es):
    • Date
    • Thread