API GetMacroInfo

From Wowpedia
Jump to: navigation, search

Return information about a macro.

name, icon, body, isLocal = GetMacroInfo("name" or macroSlot)

Arguments

name 
String - Name of the macro to query.

OR

macroSlot
Number - Macro slot index to query. Slots 1 through 120 are general macros; 121 through 138 are per-character macros.

Returns

name 
String - The name of the macro.
icon
Number (fileID) - Macro icon texture.
body 
String - Macro contents.
isLocal 
Flag - unknown.