Page 1 of 1
Macro Buttons color
Posted: Wed Apr 15, 2020 8:35 pm
by Bidj
I may have missed it in the documentation but is there a way to change the color of a Macro Button in a script ?
I was thinking of something like Button[0].color=2; or Button[0].buttonColor=2;
(and if that's not already the case, something like Button[0].color=#A1B2C3; would be great).
Re: Macro Buttons color
Posted: Mon Sep 12, 2022 7:11 pm
by stoepie
Hi all, from this newbie on the forum.
I reached this part as I too would like to programatically change the color of a button when I press it (or release it).
My use case is where I use a button to enable a stream, in which case I would like the button to go from GREEN to RED (like an on-air indication).
On disabling, I'd like the button to be green again.
It can be done by loading a copy of the buttons where the new color is defined in the XML, but its very complicated and gets exponentially worse with more buttons.... status keeping is then a bit of a hassle (read: nightmare) too.
Might this be an idea for a feature request?
I am using Voicemeeter more and more... it's great. It offers the audio routing that should have been part of windows... and more....
-David
Re: Macro Buttons color
Posted: Sat Sep 17, 2022 4:33 pm
by stoepie
Thought about this for a bit. What would also work is an extra config option to set the button color for an activated (pressed/latched) button.
Re: Macro Buttons color
Posted: Wed Sep 21, 2022 10:55 am
by Vincent Burel
ok, we finally have implemented an instruction to change the color of a button
Code: Select all
Button.Color = 0 to 9;
Button[i].Color = 0 to 9;
it will be in the next coming version this week...
Re: Macro Buttons color
Posted: Wed Sep 21, 2022 11:11 pm
by stoepie
Very nice, thank you.

Re: Macro Buttons color
Posted: Thu Sep 22, 2022 8:26 pm
by stoepie
Bought another license to support you!
Re: Macro Buttons color
Posted: Fri Sep 23, 2022 10:37 am
by Vincent Burel
thanks for your support!

Re: Macro Buttons color
Posted: Sun Oct 02, 2022 9:46 pm
by stoepie
You're welcome.
Out of curiosity, is a release date planned, or some way to get hold of a beta version or release candidate? I did look on the site and couldn't find any details on this.
Cheers,
David
Re: Macro Buttons color
Posted: Mon Oct 03, 2022 7:29 am
by Vincent Burel
Re: Macro Buttons color
Posted: Sat Oct 08, 2022 12:51 pm
by stoepie
cool, thanks!