CommandListener

Constructor of CommandListener object as method of IScriptApplication

Command listener constructor

Return Value

JavaScript

var ppCommandHandlerListener = new CommandListener(onBeforeExecute, onAfterExecute);

Visual Basic Script

ppCommandHandlerListener = ScriptApplication.CommandListener onBeforeExecute, onAfterExecute

C++

CComPtr<IScriptCommandHandlerListener> pCommandHandlerListener;
HRESULT hr = ScriptApplication.CommandListener(onBeforeExecute, onAfterExecute, &pCommandHandlerListener);