Important: The information in this document is obsolete and should not be used for new development.
Scripting Components Reference
This section describes the standard scripting component data structures and routines your application can use to manipulate and execute scripts. This section also describes additional routines provided by the AppleScript scripting component and three routines called by scripting components.The first section, "Data Structures," describes the principal data types used by scripting component routines. "Required Scripting Component Routines," which begins on page 10-30, describes the standard scripting component routines that all scripting components must support. "Optional Scripting Component Routines," which begins on page 10-45, describes additional standard scripting component routines that scripting components are not required to support.
Your application can use the Component Manager to find a scripting component that supports specific optional routines or to determine whether a particular scripting component supports a specific group of routines. For information about how to do this, see "Connecting to a Scripting Component," which begins on page 10-3.
"AppleScript Component Routines," which begins on page 10-79, describes additional routines supported by the AppleScript component. "Generic Scripting Component Routines" which begins on page 10-83, describes routines you can use to get instances of specific components and perform other useful tasks when you are using multiple scripting components. "Routines Used by Scripting Components," which begins on page 10-91, describes three routines that all scripting components can use to manipulate trailers for generic storage descriptor records.
Subtopics
- Data Structures
- Required Scripting Component Routines
- Optional Scripting Component Routines
- AppleScript Component Routines
- Generic Scripting Component Routines
- Routines Used by Scripting Components
- Application-Defined Routines