scripting:api:status-bar:command-to-index

CommandToIndex

Method of IStatusBar

Get command index

  • BSTR strCommandName
var pnPosition = StatusBar.CommandToIndex(strCommandName);
pnPosition = StatusBar.CommandToIndex strCommandName
long nPosition;
HRESULT hr = StatusBar.CommandToIndex(strCommandName, &nPosition);