GetMacroInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns info for a macro.

name, icon, body = GetMacroInfo(macro)

Arguments

macro
number|string - Macro slot index or the name of the macro. 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.

Patch changes

Wrath-Logo-Small.png Patch 3.0.2 (2008-10-14): Removed isLocal return.