Close
Showing results 1 to 8 of 8

Hybrid View

  1. #1
    Multiboxologist MiRai's Avatar
    Join Date
    Apr 2009
    Location
    Winter Is Coming
    Posts
    6815

    Default

    I'm going to assume that because there are secure actions involved, that you're going to need an add-on to accomplish what you want:

    Code:
    <Binding name="TOGGLEUI">
            if ( UIParent:IsShown() ) then
                securecall("CloseMenus");
                securecall("CloseAllWindows");
                UIParent:Hide();
                SetUIVisibility(false);
                ActionStatus_DisplayMessage(format(UI_HIDDEN, GetBindingText(GetBindingKey("TOGGLEUI"), "KEY_")))
            else
                UIParent:Show();
                SetUIVisibility(true);
            end
    But even if you could create a macro solely for toggling the UI you would still need to bind it to a key for it to function...

    So, why not just change the key binding from ALT+Z to something easier to press? Are you looking to save on computer resources by toggling off the UI?

  2. #2

    Default

    It is possible to do from a Macro.

    /script UIParent:Hide();
    /script SetUIVisibility(false);
    will hide it

    and conversely

    /script UIParent:Show();
    /script SetUIVisibility(true);
    will show it.

  3. #3
    Multiboxologist MiRai's Avatar
    Join Date
    Apr 2009
    Location
    Winter Is Coming
    Posts
    6815

    Default

    Well, then... There you go. >_>

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •