WoW:API GetMacroInfo: Difference between revisions
Jump to navigation
Jump to search
GetMacroInfo - Documentation by Nepenthes
No edit summary |
m (Changed the variable name "local" to "localVar" as "local"'s an invalid name.) |
||
Line 25: | Line 25: | ||
:unknown; apears to be the numeric value 1. | :unknown; apears to be the numeric value 1. | ||
== Example == | == Example == | ||
local name, texture, macrobody, | local name, texture, macrobody, localVar = GetMacroInfo(1) | ||
Revision as of 21:38, 13 November 2006
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, localVar = GetMacroInfo(1)