WoW:API GetMacroInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Removed extra = in example)
No edit summary
Line 32: Line 32:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetMacroInfo]]
[[Category:API Action Functions|GetMacroInfo]]

Revision as of 16:41, 30 December 2005

GetMacroInfo - Documentation by Nepenthes

Return information for a macro.

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

Arguments

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

Returns

name, iconTextureID, body, local
name
The name of the macro
iconTextureID
The texture of the macro
body
The contents of the macro
local
unknown; apears to be the numeric value 1.

Example

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



Template:WoW API