WoW:API RunMacro: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(changed this according to use in securetemplates.lua)
Line 8: Line 8:
=== Arguments ===
=== 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-18, the second page 19-36.
:;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
:;macroName : String - the name of the macro as it is displayed in the macro frame


=== Returns ===
=== Returns ===
:; nil
:; nil

Revision as of 09:21, 7 October 2010

WoW API < RunMacro


Execute a macro from the macro frame.

Parameters

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.
macroName
String - the name of the macro as it is displayed in the macro frame

Returns

nil