AddOns
AddOn Manager
Latest 200
Browse
Upload AddOn
Search AddOns
Projects
Author Portals
Git Repositories
SVN Repositories
Options
Email Feeds
Preference
Download History
News
Forums
New posts
Today's Posts
Search Forum
Categories
General
AddOns, Comps, Macros
Featured Projects
Developer
Site Forums
Mark Forums Read
Subscribed Threads
Open Buddy List
Members List
Help
Login
Sign up
WoWInterface
»
Developer Discussions
»
Lua/XML Help
»
Frame name
Go to Page...
Reply
View First Unread
Thread Tools
Display Modes
10-18-05, 04:46 PM
#
1
shouryuu
A Chromatic Dragonspawn
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?
shouryuu
View Public Profile
Send a private message to shouryuu
Find More Posts by shouryuu
10-18-05, 05:41 PM
#
2
Gello
A Molten Giant
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())
Gello
View Public Profile
Send a private message to Gello
Find More Posts by Gello
10-18-05, 05:53 PM
#
3
shouryuu
A Chromatic Dragonspawn
Join Date: Sep 2005
Posts: 150
Thanks a lot man, you're saving my life
shouryuu
View Public Profile
Send a private message to shouryuu
Find More Posts by shouryuu
Reply
WoWInterface
»
Developer Discussions
»
Lua/XML Help
» Frame name
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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