Forum Replies Created

  • John Barata

    January 26, 2010 at 6:24 pm in reply to: BAtch monitor keeps going up and won’t cancel

    I had the same problem so I tried this little download and it worked like a charm. Thanks guys!

    https://www.digitalrebellion.com/compressor_repair.htm

  • John Barata

    January 21, 2009 at 4:53 pm in reply to: 5 Minute Countdown

    Thanks for your help Dan but before I read your post I stumbled across this one

    addedSec = thisComp.layer(“Controller”).effect(“Seconds”)(“Slider”);
    addedMin = thisComp.layer(“Controller”).effect(“Minutes”)(“Slider”)*60;
    addedHr = thisComp.layer(“Controller”).effect(“Hours”)(“Slider”)*3600;
    addedTime = addedSec + addedMin + addedHr;

    sec = Math.floor(time + addedTime) * thisComp.layer(“Controller”).effect(“Time Multiplier”)(“Slider”);
    minvar = Math.floor(sec/60);
    hrvar = Math.floor(sec/3600);
    sechrvar = Math.floor(sec – (3600*hrvar));
    minhrvar = Math.floor(sechrvar/60);

    if(sec<0){
    "Err: Negative Time"
    }else{

    if ((sec - 10) < 0) { ":0" + sec } else { if ((sec - 60) < 0) { ":" + sec }else{ if (((sec/60)>1) && ((sec – minvar*60)<10) && (sec<3600)) {
    (minvar) + ":0" + (sec - minvar*60)

    }else{

    if ((sec - 60) < 0) { ":" + sec }else{ if ((sec/60) == 1) { (minvar) + ":00" }else{ if (((sec/60)>1) && ((sec – minvar*60)>=10) && (sec<3600)) {
    (minvar) + ":" + (sec - minvar*60)
    }else{

    if((sec - 3600*hrvar) == 0){
    (hrvar) + ":00:00"
    }else{

    if(((sec - 3600) > 0) && ((sec – (3600*hrvar) – (minhrvar*60)< 10)) && (minhrvar<10)){ (hrvar) + ":0" +  minhrvar + ":0" + (sechrvar - minhrvar*60) }else{ if(((sec - 3600) > 0) && ((sec – (3600*hrvar) – (minhrvar*60)) >=10) && (minhrvar < 10)){ (hrvar) + ":0" + minhrvar + ":" + (sechrvar - minhrvar*60) }else{ if(((sec - 3600) > 0) && ((sec – (3600*hrvar) – (minhrvar*60)) < 10) && (minhrvar >= 10)){
    (hrvar) + “:” + minhrvar + “:0” + (sechrvar – minhrvar*60)
    }else{

    if(((sec – 3600) > 0) && ((sec – (3600*hrvar) – (minhrvar*60)) >=10) && (minhrvar >= 10)){
    (hrvar) + “:” + minhrvar + “:” + (sechrvar – minhrvar*60)
    }else{

    sec}}}}}}}}}}}}

    I can’t remember if you had written it on another forum but it worked great.

    But once again thank you for your help either way. It’s great to know that there are people out there always willing to help.

    Cheers

  • John Barata

    January 20, 2009 at 7:36 pm in reply to: 5 Minute Countdown

    Hi Dan,

    Great post. I tried it out and perfect. The only problem is that is doesn’t work for what I need and I can’t figure out what to change.

    I need a clock that counts up normally that shows hr:min:sec starting at whatever time.

    Is there a simple fix to make this work?

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