onDocumentSwitch

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onDocumentSwitch;
ScriptApplication.onDocumentSwitch = Action;

Visual Basic Script

Action = ScriptApplication.onDocumentSwitch
ScriptApplication.onDocumentSwitch = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onDocumentSwitch(&Action);
hr = ScriptApplication.put_onDocumentSwitch(Action);