Posted on: 09-10-2012 - Updated on: 02-01-2014 - viewed 13893 times
Description:
Some buttons and UI elements have names, use this macro to find out what the name of a given element is (if it has one) when you make a macro out of it and bind it to a key while your mouse is hovering over it.
This is good for making automation macros and you want to automate clicking on buttons.
/run DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName())