WoW API: RunMacro
Jump to navigation
Jump to search
This function is PROTECTED, and can only be called from Blizzard code.
|
Execute a macro from the macro frame.
Parameters[edit]
Arguments[edit]
- 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.
- macroName
- String - the name of the macro as it is displayed in the macro frame
Returns[edit]
- nil