• 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: Can the AppleScript implementation of an AS application be exposed via terminology?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Can the AppleScript implementation of an AS application be exposed via terminology?
  • Next by Date: Re: What is the "error message" in AppleScript (from TN2065)
  • Previous by thread: Re: What is the "error message" in AppleScript (from TN2065)
  • Next by thread: Re: Can the AppleScript implementation of an AS application be exposed via terminology?
  • Index(es):
    • Date
    • Thread