Runs arbitrary text as a macro


See also Macro functions.

Signature:

RunMacroText(""text"" [, ""button""])

Arguments:

  • "text" - The text of the macro to run (string)
  • "button" - The mouse button used to click the macro; may be used by [button:x] options in the macro (string)
This function is protected and can only be called by the Blizzard user interface