AddOn: Bartender4 custom condition - change scale of bar on keypress

I don't think there is a condition to check for a certain key since Bartender uses the normal macro conditions, which do not have that.

There is another and pretty easy way to accomplish your wish... and even more if you like. You could easily make own UIs and switch to them in raids, instances or whatever you like. And you can still use conditions there.

  1. You need two or more profiles in BT4.

    • one with your normal UI
    • one with the resized or rescaled bar(s)
    • (whatever else you need)
  2. Make the same amount of macros in WoW:

    2.1. /bt profiles choose profile1 (the name of the first Bartender profile)
    2.2. /bt profiles choose profile2 (name of the 2nd profile)
    2.3. ...and so on

Now when you keybind your macros as you would usually do (drag and drop then on your action bar) you can use them to switch to another profile, which would then re-scale your action bar or whatever else you've changed.