RunMacro

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 2.0.1 / 1.13.2

Executes a macro.

RunMacro(macroID or macroName)

Arguments

macroID
number - the position of the macro in the macro frame. Starting at the top left macro with 1, counting from left to right and top to bottom. The IDs of the first page (all characters) range from 1-36, the second page 37-54.

OR

macroName
string - the name of the macro as it is displayed in the macro frame

Patch changes

Bc icon.gif Patch 2.0.1 (2006-12-05): Protected.