Fandom

WoWWiki

API GetMacroInfo

104,631pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetMacroInfo

Return information about a macro.

name, iconTexture, body, isLocal = GetMacroInfo("name" or macroSlot);

Arguments Edit

name 
String - Name of the macro to query.

OR

macroSlot
Number - Macro slot ID to query. Slots 1 through 36 are general macros; 37 through 54 are per-character macros.

Returns Edit

name 
String - The name of the macro.
iconTexture 
String - Path to the icon texture currently displayed for the macro.
body 
String - Macro contents.
isLocal 
Flag - unknown.

Also on Fandom

Random Wiki