WoW:API GetMacroInfo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Clean up function example so its copy pasteable like other API entries) |
||
Line 3: | Line 3: | ||
Return information for a macro. | Return information for a macro. | ||
name, iconTexture, body, local = GetMacroInfo(MacroID) | |||
== Arguments == | == Arguments == | ||
:(MacroID) | :(MacroID) |
Revision as of 12:26, 28 April 2008
← WoW API < GetMacroInfo
Return information for a macro.
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)