Hi< I just figured out how to make a toggle button from scratch and manually find the rosstalk code and eventually making it work. Then you can assign the button colors in style. Not sure if Ross wanted to answer or they dont look much at the community. Hope this helps.
Make a Choice constrain button (0 yes and 1 no for example)
then add the following
<task tasktype="ogscript">
var value = this.getValue(); //gets the 0 or 1 from the choice constrain
if(value == 1)
{
/*Enable something*/
rosstalk."command"('IP address", 7788, 'command');
}
else
{
}
</task>
#Carbonite