WoW:API RunMacro: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API RunMacro to WoW:API RunMacro without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The RunMacro() function is available if you have the SuperMacro addon installed.
{{wowapi}}
 
{{protectedapi|2.0.1|For alternatives, try [[API_SecureTemplates|Secure Templates]].}}
 
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

Latest revision as of 04:47, 15 August 2023

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