WoW API: GetMacroInfo
Jump to navigation
Jump to search
← WoW API < GetMacroInfo
Return information for a macro.
name, iconTexture, body, localStore = GetMacroInfo(name or MacroID)
Arguments
- (name or MacroID)
- name or MacroID
- Number/String - The ID number or name of the macro to query.
Returns
- name, iconTexture, body, localStore
- name
- The name of the macro
- iconTexture
- The icon texture path of the macro
- body
- The contents of the macro
- localStore
- unknown; apears to be the numeric value 1 or nil.
Example
local name, texture, macrobody, localVar = GetMacroInfo(1)