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);
Application.ExecuteCommand strName, nCount
HRESULT hr = Application.ExecuteCommand(strName, nCount);