Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Compiling Scripts
Scripting components can provide three optional routines that get the name of a scripting component, compile a script, and update a script ID.To obtain the name of a scripting component in a form that you can coerce to text, you can use the
OSAScriptingComponentNamefunction. TheOSACompilefunction compiles source data and returns a script ID, and theOSACopyIDfunction updates the script data associated with one script ID with the script data associated with another script ID.A scripting component that supports the routines in this section has the
kOSASupportsCompilingbit set in thecomponentFlagsfield of its component description record.
Subtopics
- OSAScriptingComponentName
- OSACompile
- OSACopyID
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 |