faqts : Computers : Programming : Application Frameworks : Macintosh : Cocoa

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 9 people (100%) answered Yes
Recently 9 of 9 people (100%) answered Yes

Entry

How do I call an AppleScript from my Cocoa code?

Apr 29th, 2002 03:31
Ben Hines, http://homepage.mac.com/nathan_day/


AppleScript Studio makes it easy to call Cocoa from AppleScript, but not 
the other way around. Nathan Day has written an easy-to-use AppleScript
wrapper class "NDAppleScriptObject" which lets you call AppleScripts and 
execute arbitrary AppleScript code. It is available at 
http://homepage.mac.com/nathan_day/