Dust's Macros
Posted: 23 Oct 2007 20:17
Hide everything besides the chat frame.
Shows everything that was hidden
Tip: Before you try the hide macro, make sure the show macro is bound to a key... :)
Toggle Window Mode macro.
Code: Select all
/script if AltZ_HF == nil then AltZ_HF = {}; local kids = { UIParent:GetChildren() }; for _, child in ipairs(kids) do if child:IsShown() and child ~= DEFAULT_CHAT_FRAME then table.insert(AltZ_HF, child); child:Hide(); end end end
Code: Select all
/script if AltZ_HF ~= nil then for _, child in ipairs(AltZ_HF) do child:Show(); end AltZ_HF = nil end
Toggle Window Mode macro.
Code: Select all
/script if(GetCVar("gxWindow") == "1") then SetCVar("gxWindow",0); else SetCVar("gxWindow",1); end RestartGx();