Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
What is a script that I can put into a macro that will allow me to hide and show(not necessarily in the same script), action bars of the default UI. I do not want to download an addon such as bartender or dominos. I just want a plain and simple script. Thanks
/run if not TgA then CreateFrame("Button","TgA",nil,"SecureHandlerClickTemplate"):SetFrameRef("MmB",MainMenuBar) TgA:SetAttribute("_onclick",[[local f=self:GetFrameRef("MmB") if f:IsVisible() then f:Hide() else f:Show() end]]) end
You need to hit it once before combat at the start of a session. (the setup which runs only once can't be run during combat) After that the macro will toggle MainMenuBar in or out of combat.
Threats of violence. We take these seriously and will alert the proper authorities.
Harassing or discriminatory language. This will not be tolerated.