I'm not in front of the computer I use for configuring my system so I'm just spitballing a bit here, but maybe set a custom variable that tracks which speakers are active. Say, something like AVR = 1, TV = 2, and soundbar = 3. When you change the active speakers you could use a SetVariable command to update this value appropriately.
Then, in MyDesigner you could create 3 different buttons, with one using the volume level variable for the AVR as the button label, another for the tv, and another for the soundbar.
I think you could then go into the button's label state and set your custom variable as the reference variable, and set 1, 2, and 3 as their respective state values. Set each one to show when the correct variable is active and hidden when set to anything else. You can then stack the buttons one on top of each other. If done correctly I think this should hide/show the correct volume depending on which system is active.
I can envision other ways to achieve this as well, but I hope this sets you on the right path or at least gives you some ideas!
Please Log in or Create an account to join the conversation.