Interactive

Property of IWScript

Identifies the script mode

Read-Write Property of type VARIANT_BOOL

JavaScript

var bVal = WScript.Interactive;
WScript.Interactive = bVal;

Visual Basic Script

bVal = WScript.Interactive
WScript.Interactive = bVal

C++

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