Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
SimpleCarbonAppleScript
Last Revision: | Version 1.1, 2007-03-01 Updated scripting definitions to new .sdef format. Added examples showing how to implement verbs. (Full Revision History) |
Build Requirements: | Xcode 2.2 |
Runtime Requirements: | 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.
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-03-01