→ WoW API
|This function is protected.|
Execute a macro from the macro frame.
RunMacro(macroID or "macroName")
- 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.
- String - the name of the macro as it is displayed in the macro frame
Patch 2.0.1 (2006-12-05): Protected.