API GetMacroIndexByName

From Wowpedia
Jump to: navigation, search

Returns macro slot index containing a macro with the specified name.

macroSlot = GetMacroIndexByName("name")

Arguments

name 
String - Macro name to query.

Returns

macroSlot 
Number - Macro slot index containing a macro with the queried name, or 0 if no such slot exists.

Details

  • Slots 1-120 are used for general macros, and 121-138 for character-specific macros.

See also