Retrieves the string associated with the specified command.
str = editor.QueryStringByID( nID );
str = editor.QueryStringByID( nID )
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 | List of Recent Documents | file path and name |
| 4864 through 4864 + 63 | List of Recent Files to Insert | file path and name |
| 4992 through 4992 + 63 | List of Recent Folders | file path and name |
| 5376 through 5376 + 255 | Documents List | window title |
| 5632 through 5632 + 255 | Plug-ins List | plug-in file name |
| 6656 through 6656 + 255 | List of Encodings to Reload | encoding name |
| 7680 through 7680 + 255 | List of Encodings to Save | encoding name |
| 9216 through 9216 + 1023 | Macros List | macro 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.