Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Chapter 6 -
This chapter describes MacApp's support for scripting. It also discusses some of the scripting issues you should consider when designing your application.
ScriptingFor detailed information on adding scripting support to your application, see Chapter 14, "Working With Scripting."
Chapter Contents
- Overview
- Scripting Terminology
- Deciding What Level of Scripting to Support
- Required and Core Event Suites
- Area Suites
- Factoring
- Advantages and Disadvantages of Adding Scripting Support
- MacApp's Scripting Model
- Apple Event Targets
- An Example of the Object Model in Action
- Components of MacApp's Scripting Support
- Dispatching Apple Events
- Initializing Scripting
- InstallDispatchHandlers
- InstallObjectCallbacks
- InstallPreDispatchHandler
- Apple Event Dispatching
- Predispatching Apple Events to Attached Scripts
- Dispatching Apple Events Directly to an Apple Event Object
- The TSetPropertyCommand Class
- The TPropertyAccessor Class
- The TClientCommand Class
- Attaching Scripts
- Attaching a Script to an Object
- Saving an Attached Script With a Document
- Executing Scripts
- User Interaction
- Error Handling
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |