• 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: osacompile [Was "Editable?"]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osacompile [Was "Editable?"]


  • Subject: Re: osacompile [Was "Editable?"]
  • From: has <email@hidden>
  • Date: Tue, 8 Nov 2005 19:48:32 +0000

Luther Fuller wrote:

>The reason I needed to read the 'run-only' flag of a file,
>if such a thing exists, was so that I could avoid compiling
>an already compiled script with osacompile.

Why? It's perfectly legal to pass a compiled script to osacompile. Anyway, the 'run-only' flag won't tell you if a file is a compiled script or not, only if a compiled script can be decompiled or not. I'd suggest just passing whatever gets dropped straight to osacompile and let it worry about what's acceptable or not, and handling any errors it raises as required.

HTH

has
--
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Logging in all the computers for the little ones.
  • Next by Date: do shell script "sort" not working
  • Previous by thread: Re: osacompile
  • Next by thread: do shell script "sort" not working
  • Index(es):
    • Date
    • Thread