Re: osacompile [Was "Editable?"]
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