Dust's Macros

Here you can ask everything that's WoW related.

Moderator: Dust

Post Reply
User avatar
Dust
The Boss
Posts: 9093
Joined: 01 Jan 1970 01:00
Contact:

Dust's Macros

Post by Dust » 23 Oct 2007 20:17

Hide everything besides the chat frame.

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
Shows everything that was hidden

Code: Select all

/script if AltZ_HF ~= nil then for _, child in ipairs(AltZ_HF) do child:Show(); end AltZ_HF = nil end
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(GetCVar("gxWindow") == "1") then SetCVar("gxWindow",0); else SetCVar("gxWindow",1); end RestartGx();
I do what I think is right. But I don't think that what I think is right can not be wrong.
Tyrud
Posts: 531
Joined: 01 Jan 1970 01:00
Location: Göteborg, Sweden
Contact:

Post by Tyrud » 23 Oct 2007 21:42

excellent job dust.

works lika a charm, but dont enter battle with it, then reloadui is idd needed
--
Kvott, lvl 70 rogue, on top of the world
Tyrud, lvl 62 priest, alchybot
Mixon, lvl 60 mage, disenchanter and AH lookout
User avatar
Dust
The Boss
Posts: 9093
Joined: 01 Jan 1970 01:00
Contact:

Post by Dust » 23 Oct 2007 22:52

Yes, as I said in guild chat, secure template visibility is locked in combat. I could write an addon that automatically shows the stuff if you enter combat tho...
I do what I think is right. But I don't think that what I think is right can not be wrong.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest