Thread: !Beautycase
View Single Post
12-03-10, 10:15 AM   #5
contramundi
A Chromatic Dragonspawn
 
contramundi's Avatar
AddOn Compiler - Click to view compilations
Join Date: May 2008
Posts: 180
You'll have to figure out what framename the addons gives to its frame

for example Bartender action bar 1 would have a frame name similar to "BT4_Bar1" (without quotes)

1) figure out the frame's actual used name:

make a macro and put it on your action bar:

Code:
 /script DEFAULT_CHAT_FRAME:AddMessage( GetMouseFocus():GetName() );
(don't know if this would still work, havent used it in quite some time, but in the past i used it when i wanted to tinker with kgpanels )

2) Hover your mouse over the frame you want to get the name from and keep the mouse on that spot while pressing the action bar button with the macro.
3) in the chat you will see a message printing out the name of the frame. If it states something like WoldFrame then its a no-go because the Worldframe is everything you see rendered for the game itself, npc's, buildings, etc.

after you figured out the name of the frame you'll have to make the code like:

Code:
CreateBorder(BT4_Bar1, 12, R, G, B, 1, 1, 1, 1, 1, 1, 1, 1)
see, i changed to "myFrameName" part to the first action bar from bartender

i think to certain restrictions in the coding language, a framename never has spaces in it, so never presume that an addon's name is the same as the framenames they use. Some addons will make it really difficult for you to find the frame name, just keep hovering your mouse over the frame bit by bit untill the "WorldFrame" changes into something more addon like

Last edited by contramundi : 12-03-10 at 10:23 AM.
  Reply With Quote