WoW:API GetMacroIndexByName: Difference between revisions
Jump to navigation
Jump to search
GetMacroInfo - Documentation by Kaso
No edit summary |
(upgraded deprecated template) |
||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''GetMacroInfo''' - ''Documentation by [[User:Kaso|Kaso]]''</center> | <center>'''GetMacroInfo''' - ''Documentation by [[User:Kaso|Kaso]]''</center> | ||
| Line 27: | Line 28: | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
Revision as of 18:13, 6 January 2007
← WoW API < GetMacroIndexByName
Return Macro Index For Given Name
Returns macroid = GetMacroIndexByName("name")
Arguments
- ("name")
- "name"
- String - The name of macro As Obtainable By GetActionText(slot)
Returns
- MacroID
- The Numeric Index of the macro
Notes
- If there Is two or more macros with the Same Name, it appears to return the highest macroid found.
Example
local macroid = GetMacroIndexByName("Fred")