Quote from
Gaev on December 31, 2020, 2:46 am
@pauljonestindall
You don't need a plugin for a count down function.
Do you want to do something like ...
SetVar "[myTimerDuration]" "3600" ... number of seconds
SetVar "[myTimerInterval]" "2" ... number of seconds between refreshes of display
GoSub "doTheCountDown"
... where the subroutine will populate [myTimerCountDisplay] with 01:00:00 ... and count down every 2 seconds (00:59:58, 00:59:56 ...... 00:00:00).
In order to display the count down in a Text Object, just place [myTimerCountdownDisplay] in the text area of the Text Object.
@pauljonestindall
You don't need a plugin for a count down function.
Do you want to do something like ...
SetVar "[myTimerDuration]" "3600" ... number of seconds
SetVar "[myTimerInterval]" "2" ... number of seconds between refreshes of display
GoSub "doTheCountDown"
... where the subroutine will populate [myTimerCountDisplay] with 01:00:00 ... and count down every 2 seconds (00:59:58, 00:59:56 ...... 00:00:00).
In order to display the count down in a Text Object, just place [myTimerCountdownDisplay] in the text area of the Text Object.
Vadim has reacted to this post.