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

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

  • Prev by Date: Re: Who has that property?
  • Next by Date: Re: Logging in all the computers for the little ones.
  • Previous by thread: Re: Editable?
  • Next by thread: osacompile
  • Index(es):
    • Date
    • Thread