Runs a macro. You can send this message explicitly or by using the Editor_RunMacro inline function.
wParam = 0;
lParam = (LPARAM) (RUN_MACRO_INFO*) pRMI;
Pointer to the RUN_MACRO_INFO structure.
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.
Supported on EmEditor Version 9.00 or later.
Send feedback on this topic to Emurasoft