WOW Gold WOW Leveling Guide The Burning Crusade Wrath of the Lich King WOW Gold Guide
Profession Guides
Macros and Commands
Tactics,Strategies,Tips

Find Element on Mouseover

/script ChatFrame1:AddMessage(GetMouseFocus():GetName())

This macro needs to be placed in an Action Bar slot that is keybound. Often you may find yourself needing to quickly identify a User Interface element or frame while in-game, and this macro can do just that. As an example, put your mouse cursor over any interactive element of your UI that you can click with your mouse cursor (ie. the Player Unit Frame). While the mouse cursor is hovering the element, activate this macro and the name of that element associated to the User Interface will print in the main chat frame (ie. you should see “PlayerFrame” in your chat window).

Previous: Interface Reload
Next: Make Auction House Gold