QueryStringByID Method (Editor Object)¶
Retrieves the string associated with the specified command. nID Specifies an integer indicating the Command ID to execute. Only following commands can be used. See the
Command Reference for details. nID Command Name Return Value 4609 through 4609 + 63 file path and name 4736 through 4736 + 63 font name and size 4800 through 4800 + 63 file path and name 4864 through 4864 + 63 file path and name 4992 through 4992 + 63 folder path 5120 through 5120 + 255 name of configuration 5376 through 5376 + 255 window title 5632 through 5632 + 255 plug-in file name 6656 through 6656 + 255 encoding name 7680 through 7680 + 255 encoding name 8192 through 8192 + 255 tool command and arguments separated by a space 8768 through 8768 + 31 suggested spelling 9120 through 9120 + 31 List of Clipboard strings clipboard string 9216 through 9216 + 1023 macro path and name 21504 through 21504 + 255 List of Custom Toolbars name of custom toolbar 21760 through 21760 + 127 List of Pinned Files file path and name 21888 through 21888 + 127 List of Pinned Folders folder path 22016 through 22016 + 255 name of dictionary 22272 through 22272 + 255 List of Markers marker string 22528 through 22528 + 7 name of CSV mode 22784 through 22784 + 63 workspace path and name Returns string of which meaning depends on the nID parameter. If the nID parameter is invalid, the method returns an empty string. Supported on EmEditor Professional Version 7.00 or later.¶
[JavaScript]¶
str = editor.QueryStringByID( nID );
[VBScript]¶
str = editor.QueryStringByID( nID )
Parameters¶
Return Values¶
Version¶