Wikia

WoWWiki

API GetMacroInfo

Talk0
102,281pages on
this wiki
Revision as of 23:10, May 21, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Around Wikia's network

Random Wiki