• 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: How do you write an OSAX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you write an OSAX?


  • Subject: Re: How do you write an OSAX?
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 15 Aug 2005 11:12:52 -0700

On Aug 15, 2005, at 10:18 AM, Mark J. Reed wrote:

Just wondering how hard it is to write an extension to AppleScript in C or whatever . . . where should I start? I downloaded the Skeleton but it was unenlightening...

They're called "scripting additions" or "osaxen" (sing. "osax"), but whatever.


The answer to your question depends largely on whether or not you know enough C and Mac OS API to accomplish whatever it is you have in mind.

If you do, then it's pretty easy, or at least not significantly harder than writing your custom bits, which you'd have to do no matter what. You might need to do some reading on the Apple Event Manager <http://developer.apple.com/documentation/Carbon/Reference/ Apple_Event_Manager/index.html> to figure out how to deal with event parameters and return values.

If you don't, then it's going to be pretty torturous.

More specific questions will yield more specific guidance.



--Chris Nebel
AppleScript and Automator Engineering

_______________________________________________
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


  • Follow-Ups:
    • Re: How do you write an OSAX?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >How do you write an ASX? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: How do you write an ASX?
  • Next by Date: Re: How do you write an OSAX?
  • Previous by thread: How do you write an ASX?
  • Next by thread: Re: How do you write an OSAX?
  • Index(es):
    • Date
    • Thread