WoW API: RunMacroText

From AddOn Studio
Jump to navigation Jump to search

WoW API < RunMacroText


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).