Not all of them works
SHOW/HIDE work without hiding the Panels. Anker UI Frames is Chat and Details
DPS/HPS and Chat Button not working.
And automate hide at bank, guildbank and petbattle not work
CHAT onClick
Code:
if pressed then
if ChatFrame1:IsShown() then
ChatFrame1:Hide()
ChatFrame2:Hide()
ChatFrame3:Hide()
ChatFrame1ButtonFrame:Hide()
ChatFrame2ButtonFrame:Hide()
ChatFrame3ButtonFrame:Hide()
ChatFrameMenuButton:Hide()
GeneralDockManager:Hide()
QuickJoinToastButton:Hide()
FriendsMicroButton:Hide()
PlaySoundFile("Sound\\Interface\\uCharacterSheetClose.wav")
else
ChatFrame1:IsShown() then
ChatFrame1:Hide()
ChatFrame2:Hide()
ChatFrame3:Hide()
ChatFrame1ButtonFrame:Hide()
ChatFrame2ButtonFrame:Hide()
ChatFrame3ButtonFrame:Hide()
ChatFrameMenuButton:Hide()
GeneralDockManager:Hide()
QuickJoinToastButton:Hide()
FriendsMicroButton:Hide()
PlaySoundFile("Sound\\Interface\\uCharacterSheetOpen.wav")
end
end
DPS/HPS onClick
Code:
if IsAddOnLoaded("Details") and pressed then
if IsControlKeyDown() then
Details:Reset()
PlaySoundFile("Sound\\Interface\\iAbilitiesTurnPageA.wav")
else
CombatLogClearEntries()
Details:ToggleWindow()
if DetailsUpFrameInstance1:IsShown() and DetailsUpFrameInstance2:IsShown() then
PlaySoundFile("Sound\\Interface\\uCharacterSheetOpen.wav")
else
PlaySoundFile("Sound\\Interface\\uCharacterSheetClose.wav")
end
end
end
SHOW onClick
Code:
if pressed then
if IsAddOnLoaded("Details") then
PlaySoundFile("Sound\\Interface\\uCharacterSheetOpen.wav")
_detalhes:ReabrirTodasInstancias()
end
ChatFrame1:Show()
ChatFrame2:Show()
ChatFrame3:Show()
ChatFrame1ButtonFrame:Show()
ChatFrame2ButtonFrame:Show()
ChatFrame3ButtonFrame:Show()
ChatFrameMenuButton:Show()
ChatFrame1ButtonFrameUpButton:Show()
ChatFrame1ButtonFrameDownButton:Show()
ChatFrame1ButtonFrameBottomButton:Show()
ChatFrame2ButtonFrameUpButton:Show()
ChatFrame2ButtonFrameDownButton:Show()
ChatFrame2ButtonFrameBottomButton:Show()
ChatFrame3ButtonFrameUpButton:Show()
ChatFrame3ButtonFrameDownButton:Show()
ChatFrame3ButtonFrameBottomButton:Show()
ChatFrame3ButtonFrameMinimizeButton:Show()
GeneralDockManager:Show()
QuickJoinToastButton:Show()
end
HIDE onClick
Code:
if pressed then
if IsAddOnLoaded("Details") then
PlaySoundFile("Sound\\Interface\\uCharacterSheetClose.wav")
_detalhes:ShutDownAllInstances()
end
ChatFrame1:Hide()
ChatFrame2:Hide()
ChatFrame3:Hide()
ChatFrame1ButtonFrame:Hide()
ChatFrame2ButtonFrame:Hide()
ChatFrame3ButtonFrame:Hide()
ChatFrameMenuButton:Hide()
ChatFrame1ButtonFrameUpButton:Hide()
ChatFrame1ButtonFrameDownButton:Hide()
ChatFrame1ButtonFrameBottomButton:Hide()
ChatFrame2ButtonFrameUpButton:Hide()
ChatFrame2ButtonFrameDownButton:Hide()
ChatFrame2ButtonFrameBottomButton:Hide()
ChatFrame3ButtonFrameUpButton:Hide()
ChatFrame3ButtonFrameDownButton:Hide()
ChatFrame3ButtonFrameBottomButton:Hide()
ChatFrame3ButtonFrameMinimizeButton:Hide()
GeneralDockManager:Hide()
QuickJoinToastButton:Hide()
end