Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Editor Object > Methods

EmEditor Macro Reference: ExecuteCommandByID Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Editor Object

ExecuteCommandByID Method

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


editor.ExecuteCommandByID( nID );


editor.ExecuteCommandByID 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.


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.