onMenuCreate

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onMenuCreate;
ScriptApplication.onMenuCreate = Action;

Visual Basic Script

Action = ScriptApplication.onMenuCreate
ScriptApplication.onMenuCreate = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onMenuCreate(&Action);
hr = ScriptApplication.put_onMenuCreate(Action);