Facility Control

 View Only
  • 1.  Loop script until timer ends

    Posted 06-06-2024 09:40

    I've created the following visual Ogscript to rename a panel as 'DONE!' when a countdown timer reaches 00:00

    How can I loop this task (so it constantly checks the time) until the timer finishes?



    ------------------------------
    James
    ------------------------------


  • 2.  RE: Loop script until timer ends

    Posted 06-07-2024 16:58

    What I would do is have the task on your timer label display! That should do the trick. If you don't have visible timer label, you can make one, put your task onto it, but then just hide your label if you don't want the timer to be a visible element.

    Or you could add a "while" block into that chain you have there, before the "if" block. Then tell it while input 1 (cddisplay) is bigger than 00:00:00 do your "if" block.



    ------------------------------
    Jake Lew
    Access Communications Co-Operative Limited
    Regina Canada
    ------------------------------



  • 3.  RE: Loop script until timer ends

    Posted 06-07-2024 17:10

    Your first recommendation has 100% worked :) Thank you so much! 



    ------------------------------
    James Forshaw
    ------------------------------