PDA

View Full Version : Macro for checking button numbers



LionsFist
10-16-2009, 11:10 AM
I remember finding a nice string that showed me the name of a specific button for my /click macros. I've searched the last half hour for it with no luck, anyone got it handy?

Jheusse
10-16-2009, 11:41 AM
This what you're looking for?

/run DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetN ame())

from the main "Utilizing /click" thread

http://www.dual-boxing.com/showthread.php?t=18539

May need to take a space out of the above so GetName is one word, haven't tried it I'm at work.

aboron
10-16-2009, 01:16 PM
Pretty much the same thing, but this is the macro I have triggered by my "Home" key:


/script ChatFrame1:AddMessage("frame name: " .. GetMouseFocus():GetName())

I just mouse over the thing I need the name of and hit Home.