WoW API: RunMacroText
← WoW API < RunMacroText
This function is PROTECTED, and can only be called from Blizzard code.
|
Execute a string as if it was a macro.
Parameters
Arguments
- "macro"
- String - the string is interpreted as a macro and then executed
Returns
- nil
Example
RunMacroText("/cast Immolate")
Result
Casts immolate (if executed in an untainted context).