What I want to do is enable a KgPanel when a bartender Profile is active. This can only work for profiles as I'm using the same action bars. Its hard to explain but is this possible to do?
---------- Post added 2012-04-12 at 10:24 AM ----------
I also want to be able to check if a bartender profile is active or not so I can do something similar to this:
if pressed then
if GetMouseButtonClicked() == "LeftButton" then
if Bartender4.db("<profilename>") is active then
Bartender4.db:SetProfile("<New Profile>")
kgPanels:FetchFrame("<New Panel>"):Show()
Hopefully that helps to explain what I want to do