Production Switchers

 View Only
  • 1.  Custom panel Macro blink while pause

    Posted 01-09-2020 01:47

    Hi All,

     

    I have made several "Custom controls" (Macros), when we use them within Custom Control page when active and there is a pause they remain white (active). But when I copy that button to my custom control page the button will not indicate it is active. The macro works and all but when there is a pause within the macro there is no indication that that macro is active.

    I have tried dealing with the Style>Toggle on>toggle off colors but this doesn't seem to work.

    Any help?

    Thanks

    Rod



  • 2.  RE: Custom panel Macro blink while pause

    Posted 11-04-2020 23:04

    I have the same question, but mine is with the hold button. It also does not stay a different color displaying its status. It just returns to the original color. Hopefully somebody will answer this. It's been 10 months since you wrote your question. Did you find a solution or does anyone else have one?


    #Carbonite


  • 3.  RE: Custom panel Macro blink while pause

    Posted 11-05-2020 04:17

    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