onApplicationClose

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onApplicationClose;
ScriptApplication.onApplicationClose = Action;

Visual Basic Script

Action = ScriptApplication.onApplicationClose
ScriptApplication.onApplicationClose = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onApplicationClose(&Action);
hr = ScriptApplication.put_onApplicationClose(Action);