scripting:api:application:register-command-listener

RegisterCommandListener

Method of IApplication

Register listener for existing command by name

Application.RegisterCommandListener(strName, pCommandHandlerListener);

==== Visual Basic Script ====

Application.RegisterCommandListener strName, pCommandHandlerListener

==== C++ ====

HRESULT hr = Application.RegisterCommandListener(strName, pCommandHandlerListener);

===== See Also ===== IApplication