Forum Replies Created

  • Ruben Gomez

    July 3, 2019 at 9:18 am in reply to: Text align script assistance

    Thanks Thomas..
    I do a lot of countdowns… Sometimes I am lucky to use a monospace font.. Most of the time I had to use other types…
    I guess the second idea would work well for all types of fonts…

  • Ruben Gomez

    June 16, 2015 at 8:22 pm in reply to: 5 Minute Countdown

    Thanks Dan,
    That worked 🙂

  • Ruben Gomez

    June 16, 2015 at 11:14 am in reply to: 5 Minute Countdown

    Hi Dan,

    That script was very helpful…. Is there any way in the script that I can start the countdown after couple of seconds….

    rate = -1;
    clockStart = 300;

    function padZero(n){
    if (n < 10) return "0" + n else return "" + n
    }

    clockTime = Math.max(clockStart + rate*(time - inPoint),0);

    t = Math.floor(clockTime);
    min = Math.floor((t%3600)/60);
    sec = Math.floor(t%60);
    min + ":" + padZero(sec)

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy