• 0

    posted a message on Bartender4 - Official Topic
    I am trying to make a macro that will make a bar visible, and a second
    macro to make it not visible.  I do not want to toggle the bar.
    So the toggle code works great:
         /run Bartender4.Bar.barregistry["6"]:SetVisibilityOption("always",not 
    And the following works to make it visible, regardless of the initial state:
         /run Bartender4.Bar.barregistry["6"]:SetVisibilityOption("always")
    But what is the argument to turn off visibility?  These two don't work:
         /run Bartender4.Bar.barregistry["6"]:SetVisibilityOption("")
         /run Bartender4.Bar.barregistry["6"]:SetVisibilityOption()
    Any help would be appreciated.  Thanks.


    Posted in: General AddOns
  • To post a comment, please or register a new account.