ExecuteCommand

Method of IApplication

Execute existing command nCount times, with “enabled” check

  • BSTR strName
  • long nCount = 1 (optional)

JavaScript

Application.ExecuteCommand(strName, nCount);

Visual Basic Script

Application.ExecuteCommand strName, nCount

C++

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