Important: The information in this document is obsolete and should not be used for new development.
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
OSAScriptingComponentName
function. TheOSACompile
function compiles source data and returns a script ID, and theOSACopyID
function 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
kOSASupportsCompiling
bit set in thecomponentFlags
field of its component description record.
Subtopics
- OSAScriptingComponentName
- OSACompile
- OSACopyID