RunMacro
function · ui · orchestration
- Address
0x4f14e0· 111 bytes, up to0x4f154e- Signature
void __thiscall (MACRONODE *this)- Meaning
- Signals EXECUTE_CHAT_LINE once per nonempty body line
- Confidence
- verified, proof one
- Finding
- ui/macros#running-a-macro
Finding: Running a macro in ui: macros
0x4f1460(id) finds the record by id and runs it; an unknown id runs nothing. The runner splits the body on
carriage returns and line feeds and signals EXECUTE_CHAT_LINE (392) once per nonempty line with the format
%s and the line as the argument. Quotes are not special. The interface's chat frame handles that event by
feeding the line to its edit box as if typed, so slash commands are the interface's and not the client's. Run by
name has no caller.
The derivation is in the doc.
Callers 2
- RunMacroById ui
- RunMacroByName ui
Callees 2
- SStrTokenize storm
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.