Show/Hide Toolbars

EmEditor Help

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

EmEditor Macro Reference: QueryStatusByID Method

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

QueryStatusByID Method

Retrieves the current status of the specified command, whether it is enabled and checked.


nStatus = editor.QueryStatusByID( nID );


nStatus = editor.QueryStatusByID( 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.

Return Values

Returns a combination of the following values.


The command is enabled.


The command is checked.


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2021 by Emurasoft, Inc.