Macro Buttons color
Macro Buttons color
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).
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
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
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
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.
-
- Site Admin
- Posts: 2133
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Macro Buttons color
ok, we finally have implemented an instruction to change the color of a button
it will be in the next coming version this week...
Code: Select all
Button.Color = 0 to 9;
Button[i].Color = 0 to 9;
Re: Macro Buttons color
Very nice, thank you.


Re: Macro Buttons color
Bought another license to support you!
-
- Site Admin
- Posts: 2133
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Macro Buttons color
thanks for your support! 

Re: Macro Buttons color
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
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
-
- Site Admin
- Posts: 2133
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Macro Buttons color
this is announced on our social network:
https://voicemeeter.com/voicemeeter-upd ... mber-2022/
https://voicemeeter.com/voicemeeter-upd ... mber-2022/