WoW API: RunMacroText
Jump to navigation
Jump to search
← 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[edit]
Arguments[edit]
- "macro"
- String - the string is interpreted as a macro and then executed
Returns[edit]
- nil
Example[edit]
RunMacroText("/cast Immolate")
Result[edit]
Casts immolate (if executed in an untainted context).