WoW API: RunMacroText

WoW API < RunMacroText


Execute a string as if it was a macro.

ParametersEdit

ArgumentsEdit

"macro"
String - the string is interpreted as a macro and then executed

ReturnsEdit

nil

ExampleEdit

 RunMacroText("/cast Immolate")

ResultEdit

Casts immolate (if executed in an untainted context).