View Single Post
03-06-08, 06:44 AM   #9
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 275
Ok

So, basically, let's say that I want to bind a macro to my "shift+leftclick", via Clique. This macro's text would be:
Code:
/cast Power Word: Shield
/run local button=clique_button; DEFAULT_CHAT_FRAME:AddMessage("I
shielded someone by clicking on " .. button:GetName() .. ", whose parent
is " ..button:GetParent():GetName() .. ".")
("clique_button" would be some keyword here, referring to the button I've clicked on)

Basically, it could output something like:
"I shielded someone by clicking on MyRaidAddon_Group3_Member2, whose parent is MyRaidAddon_Group3."

Again, I doubt there's any concrete use of that. But well...
  Reply With Quote