EE_RUN_MACRO¶
Runs a macro. You can send this message explicitly or by using the Editor_RunMacro inline function.
EE_RUN_MACRO
wParam = 0;
lParam = (LPARAM) (RUN_MACRO_INFO*) pRMI;
Parameters¶
pRMI
Pointer to the RUN_MACRO_INFO structure.
Return Values¶
The return value is one of the following values.
S_OK | Success. |
S_FALSE | A macro error like a syntax error occurred. |
S_EDIT_TEMP | A macro error occurred but could not open the source code to edit because the source code is not in a text file. The caller should open the source file with the cursor position set according to the information provided by the ptErrorPos parameter. |
E_FAIL | A fatal error occurred. |
Version¶
Supported on EmEditor Version 9.00 or later.