Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Version 1.1, 2007-03-01
Updated scripting definitions to new .sdef format. Added examples showing how to implement verbs.
(Full Revision History)
Mac OS X
SimpleCarbonAppleScript employs the Cocoa scripting runtime to add scriptability to a Carbon application. This sample illustrates the simplest AppleScript implementation for an application by implementing several properties on the main application. Carbon programmers new to AppleScript will find this sample is a useful starting point for beginning their exploration of making their application scriptable. SimpleCarbonAppleScript is very similar to SimpleCocoaAppleScript and only differs in the underlying implementation.
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-03-01)