Tuesday, November 3, 2009 [Tweets] [Favorites]

Implementing AppleScript Recordability

Andy Finnell:

The ASObj function creates an ASObject proxy object for any NSObject that implements objectSpecifier. invokeCommand takes care of marshalling the parameters into an AppleEvent, sending it, and unmarshalling the return value into an NSObject. The name of the command is the name of the name used in AppleScript, not the Cocoa implementation.

Then his controllers use the proxy objects to talk to the model through AppleScript.


Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment