WoW:SecureActionButtonTemplate: Difference between revisions
Jump to navigation
Jump to search
→macro
No edit summary |
(→macro) |
||
| Line 132: | Line 132: | ||
<br /> | <br /> | ||
<b>Attributes:</b> | <b>Attributes:</b> | ||
{| border="1" style="border-collapse: collapse;" cellpadding="4" | |||
|- | |||
| macro || (unknown) Identifier specifying the macro to execute. Does this take a macro name or ID (testing needed)? | |||
|- | |||
| macrotext || (string) Macro text to be executed. | |||
|} | |||
Causes this frame to run the macro with ID #1 when left clicked. | Causes this frame to run the macro with ID #1 when left clicked. | ||
| Line 143: | Line 143: | ||
frame:SetAttribute("type1", "macro") | frame:SetAttribute("type1", "macro") | ||
frame:SetAttribute("macro1", 1) | frame:SetAttribute("macro1", 1) | ||
Causes this frame to run a macro that announces the player's target. | |||
frame:SetAttribute("type1", "macro") | |||
frame:SetAttribute("macrotext", "/party I am targetting %t") | |||
----- | ----- | ||