Thread Tools Display Modes
10-18-05, 04:46 PM   #1
shouryuu
A Chromatic Dragonspawn
 
shouryuu's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 150
Frame name

This has been asked before, just can't find where... How can I get the name of the Frame I mouse over?
  Reply With Quote
10-18-05, 05:41 PM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
GetMouseFocus():GetName()

GetMouseFocus only works for frames that can receive mouse events. So you can make a macro that has:

/script DEFAULT_CHAT_FRAME:AddMessage("The mouse is over "..GetMouseFocus():GetName())
  Reply With Quote
10-18-05, 05:53 PM   #3
shouryuu
A Chromatic Dragonspawn
 
shouryuu's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 150
Thanks a lot man, you're saving my life
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Frame name


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off