Re: Editable?
Re: Editable?
- Subject: Re: Editable?
- From: has <email@hidden>
- Date: Tue, 8 Nov 2005 11:22:23 +0000
Luther Fuller wrote:
>how does the editor know [if a script is editable]?
By calling the OSA's OSAGetScriptInfo() function with the kOSACanGetSource selector. See:
http://developer.apple.com/documentation/Carbon/Reference/Open_Scripti_Architecture/Open_Script_Arch/chapter_1.2_section_4.html
You could write an osax to do this; it'd be about a half dozen lines of C code.
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