ExecuteCommandByID Method (Editor Object)

Executes the command identified by an integer indicating the Command ID.

[JavaScript]

editor.ExecuteCommandByID( nID );

[VBScript]

editor.ExecuteCommandByID nID

Parameters

nID

Specifies an integer indicating the Command ID to execute. See the Command Reference for the list of available commands. Not all commands may be available or supported.

Version

Supported on EmEditor Professional Version 4.00 or later.