Thread Tools Display Modes
10-23-06, 04:17 PM   #1
shiin
A Fallenroot Satyr
Join Date: Feb 2005
Posts: 23
Macros & SecureActionButtons

I'm not sure wheter this rather belongs into "BC Beta Mods" but since it is just a coding question this is probably a better place.

I'm not entirely sure how to call a macro by clicking on a "SecureActionButton". As I understand it now, I would have to place the macro in one of Blizzards action slots and then using the "action" attribute of "SecureActionButton" with the appropriate slot number. This seems kind of clumsy, might there be a better way for doing this?
  Reply With Quote
10-26-06, 10:04 PM   #2
Maul
Ion Engines, Engage!
 
Maul's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 401
They just added to the last beta patch:

button:SetAttribute("type", "macro")
button:SetAttribute("macro", #)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Macros & SecureActionButtons

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off