This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Frame name issue
Post Reply
Return to board index
Post by
Cloud8690
Trying out
SimpleRunesbar
on my DK. I'm trying to find the name of the frame for it, but my macro isn't working for it, I just get "WorldFrame".
/script ChatFrame1:AddMessage(GetMouseFocus():GetName())
That's what I'm using as my macro. If I click it while mousing over the anchor, I get SimpleRunesBarFrame. But not if I mouse over the actual rune bar. And the SimpleRunesBarFrame only works for the anchor.
Any ideas?
Post by
127599
This post was from a user who has deleted their account.
Post by
Cloud8690
How so?
Post by
127599
This post was from a user who has deleted their account.
Post by
Cloud8690
Obviously. Which is why I asked for help.
Post by
127599
This post was from a user who has deleted their account.
Post by
Mosrael
Try this.
/run local e,m,n,f=EnumerateFrames,MouseIsOver;ChatFrame1:AddMessage("The mouse is over the following frames:")f=e()while f do n=f:GetName()if n and f:IsVisible()and m(f)then ChatFrame1:AddMessage(" - "..n)end;f=e(f)end
That is the macro I normally use to get a frame's name. Hasn't failed me yet.
Edit.
After trying it, it seems that each segment of the bar has it's own frame(s?).
Ex.
SimpleRunesBar_Rune1
SimpleRunesBar_Rune1Bar
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.