scripting:api:application:execute-command

ExecuteCommand

Method of IApplication

Execute existing command nCount times, with “enabled” check

  • BSTR strName
  • long nCount = 1 (optional)
Application.ExecuteCommand(strName, nCount);

==== Visual Basic Script ====

Application.ExecuteCommand strName, nCount

==== C++ ====

HRESULT hr = Application.ExecuteCommand(strName, nCount);

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