WoW:API GetMacroInfo: Difference between revisions
Jump to navigation
Jump to search
m (Removed extra = in example) |
m (Move page script moved page API GetMacroInfo to API GetMacroInfo without leaving a redirect) |
||
(8 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Return information about a macro. | |||
name, iconTexture, body, isLocal = GetMacroInfo("name" or macroSlot); | |||
== Arguments == | == Arguments == | ||
: | ;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 == | == Returns == | ||
;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. | |||
:The name of the macro | |||
; | |||
: | |||
; | |||
: | |||
; | |||
:unknown | |||
Latest revision as of 04:46, 15 August 2023
← 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.