createScriptContext(language, name)
|
|
Parameters
|
Stringlanguage
Specifies the name of the Microsoft Windows Script language to initialize the script context. The name must be either "VBScript" or "JScript", the ProgID values of the respective script language. A ProgID is the version-independent, user-friendly name of the GUID (Globally Unique Identifier) found in the Windows registry. Any ActiveScript-compatible script language can be named and used, but only VBScript and JScript are supported.
Stringname
Specifies the name of the script.
|
Returns
|
ScriptContext. The IDispatch pointer to the ScriptContext object. If the object creation fails, the method returns null.
|