Re: How do you write an OSAX?
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