CommandsManager Object

The CommandsManager object allows the user to perform command-related actions: (un)register, execute, enable/disable commands).

The following table lists methods of the CommandsManager object with links to the respective reference pages.

Table 1. CommandsManager Object Methods

Method

Description

CommandDisable Method (CommandsManager Object)Temporarily disables a command line command.
CommandEnable Method (CommandsManager Object)Enables a command line command.
CommandRemove Method (CommandsManager Object)Removes a command line command from the current session.
ExecuteCommand Method (CommandsManager Object)Executes a command line command.
ExecuteMenuCommand Method (CommandsManager Object)Causes the specified menu command to be executed.
RegisterOLECommand Method (CommandsManager Object)Defines a new command line command.
UnregisterOLECommand Method (CommandsManager Object)Revokes a previously registered command.