05-16-2019 11:03 AM
I've created a macro that reads the value of a Room Kit Pro after it has just booted. Depending of this value I'd like to have a button I also created on the Touch 10 to become blue or grey.
How can I achieve that ?
I know how to do this :
- for a slider : xcommand UserInterface Extensions Widget SetValue WidgetId: slider1 Value:
200
- for a toggle button : xcommand UserInterface Extensions Widget SetValue WidgetId: toggle1 Value: on (or off)
- for text button : xcommand UserInterface Extensions Widget SetValue WidgetId: text1 Value : "Hello world"
When I try this for a button :
xcommand UserInterface Extensions Widget SetValue WidgetId: button1 Value: "pressed"
I get this error message :
*r WidgetSetValueResult (status=Error):
*r WidgetSetValueResult Reason: "Invalid Button value: 'pressed'"
I think that it's not possible for a button.
Kind regards
Solved! Go to Solution.
05-16-2019 12:58 PM
05-16-2019 12:58 PM
05-17-2019 12:43 AM
Thank you Mike for your quick answer. That's what I didn't find in the documentation.
I finally found some documentation (sx-mx-dx-room-kit-customization-guide-ce95.pdf) where this is explained :
- page 20 for buttons
- page 21 for group button
Thank you again
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide