WoW:API GetMacroInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
<center>'''GetMacroInfo''' - ''Documentation by [[User:Nepenthes|Nepenthes]]''</center>
<center>'''GetMacroInfo''' - ''Documentation by [[User:Nepenthes|Nepenthes]]''</center>


Line 31: Line 32:
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}

Revision as of 18:13, 6 January 2007

WoW API < GetMacroInfo

GetMacroInfo - Documentation by Nepenthes

Return information for a macro.

Returns "name", "iconTexture", "body", local = GetMacroInfo(MacroID)

Arguments

(MacroID)
MacroID
Numeric - The ID number of the action to query.

Returns

name, iconTexture, body, local
name
The name of the macro
iconTexture
The icon texture path of the macro
body
The contents of the macro
local
unknown; apears to be the numeric value 1 or nil.

Example

local name, texture, macrobody, localVar = GetMacroInfo(1)