javascript - VBScript/HTA Countdown, every hour -
i trying achieve simple, can't head around it.
i have no code i'm trying create in vbscript
use within hta
countdown timer runs until xx:58
- ends on start of 58th minute of every hour, can restart countdown until next 58th minute of hour after ... , on.
does know how achieve can format within hta?
many thanks.
i use jscript in hta's (made quite few). here's 1 possible solution (using jscript). should able convert vbs, or use if needed:
<script type='text/javascript'> //check 58th minute once every minute var minute = 60000; //create count-down timer run function every minute var countdowntimer = setinterval(function(){ //if not 58th minute, nothing if ((new date()).getminutes() < 58) return; //your code here... }, minute); </script>
cheers!
Comments
Post a Comment