Programmer's Guide > Interfaces > Window interface > getScriptContext method
  
getScriptContext method
Returns the ScriptContext for the given language in this window. Returns null if there is no context for the language.
getScriptContext(language )
Parameters
Stringlanguage
The name of the language. (For example, "VBScript" or "JScript".)
Returns
ScriptContext. The ScriptContext for the given language.