Interactive

Property of IScriptApplication

Identifies the script mode

Read-Write Property of type VARIANT_BOOL

JavaScript

var bVal = ScriptApplication.Interactive;
ScriptApplication.Interactive = bVal;

Visual Basic Script

bVal = ScriptApplication.Interactive
ScriptApplication.Interactive = bVal

C++

VARIANT_BOOL bVal;
HRESULT hr = ScriptApplication.get_Interactive(&bVal);
hr = ScriptApplication.put_Interactive(bVal);