Re: Can the AppleScript implementation of an AS application be exposed via terminology?
Re: Can the AppleScript implementation of an AS application be exposed via terminology?
- Subject: Re: Can the AppleScript implementation of an AS application be exposed via terminology?
- From: Jon Pugh <email@hidden>
- Date: Tue, 7 Oct 2008 08:21:47 -0700
At 11:44 AM -0700 10/6/08, Scott Babcock wrote:
>I have a bunch of library functions implemented in AppleScript. This is really great for providing common functionality to code written in AppleScript, but these functions aren't available to code written in other languages. Is there any way to wrap this library suite in such a way as to expose an Apple Event interface that can be used by code written in other languages (C, Python, Ruby, etc.)?
AppleScript code is traditionally called via "OSARunScript" and "OSAExecuteEvent". I have some old sample code called MoreOSA that does this stuff. It's not terribly complex, but basically you need to load a script and then run it. Then you wrap that in some API that makes sense for your code.
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden