Runs a macro


See also Macro functions.

Signature:

RunMacro(index [, ""button""]) or RunMacro("name" [, ""button""])

Arguments:

  • index - Index of a macro (number, macroID)
  • name - Name of a macro (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