Name
SetTimerElapse -- set timer elapse threshold (V9.0)
Synopsis
SetTimerElapse(id, elapse[, reset])
Function
This function sets the elapse threshold of the timer specified by id to the time specified in elapse. This time must be specified in milliseconds. You can then call TimerElapsed() to find out when the timer has elapsed or use WaitTimer() to wait for the timer to elapse.

By default, SetTimerElapse() will also reset the timer. If you don't want that, pass False in the reset argument.

Note that if you pass 0 in the elapse argument, elapsing will be disabled for this timer, i.e. TimerElapsed() will never return True for timers which have an elapse threshold of 0.

Inputs
id
identifier of the timer to modify
elapse
elapse threshold in milliseconds or 0 to disable elapsing
reset
optional: whether or not the timer should be reset (defaults to True)

Show TOC