Important: The information in this document is obsolete and should not be used for new development.
Using Component-Specific Routines
You can't use the generic scripting component to call a component-specific routine. Instead, you must use an instance of the specific scripting component that supports the routine.To facilitate the use of component-specific routines, the generic scripting component allows you to identify the scripting component that created stored script data, get an instance of a specified scripting component, and convert between generic script IDs and component-specific script IDs.
If you want to identify the scripting component that created a storage descriptor record but don't want to load the script, use the
OSAGetScriptingComponentFromStored
function. When you need to use a specific scripting component, theOSAGetScriptingComponent
function allows you to get a component instance for that scripting component.The
OSAGenericToRealID
andOSARealToGenericID
functions allow you to convert between generic script IDs and component-specific script IDs.
Subtopics
- OSAGetScriptingComponentFromStored
- OSAGetScriptingComponent
- OSAGenericToRealID
- OSARealToGenericID