Hi there!
Here is a useful Macro, for getting the name of a UI frame:
/script DEFAULT_CHAT_FRAME:AddMessage( GetMouseFocus():GetName() );
Just create that Macro and put it into the actionbar. Point your mousecursor over a particular frame an press the actionbars number for that Macro. The frames name will be post into the chatframe.
But now I have got a question:
I need a Macro for getting the texturepath from the texture my mouse is over. The following Macro doesn't work but I don't know why:
/script DEFAULT_CHAT_FRAME:AddMessage( GetMouseFocus():GetTexture() );
All I found out so far is that 'GetTexture()' seems to not work with 'GetMouseFocus()'. But why?
The following works:
/script DEFAULT_CHAT_FRAME:AddMessage( ActionButton1Icon:GetTexture() );
This Macro gets the texturepath of the icon in actionbar1.
I hope that Macro helps you and someone can help me!
greetings, nehegeb