isTimerRunning
Report whether or not a timer exists and is in the “running” state.
Syntax
ogscript.isTimerRunning (Timer ID);
Parameters
Parameter |
Type |
Required |
Description |
Timer ID |
String |
Yes |
true — a timer with the given ID exits and is in the “running” state. false — a timer with the give ID does not exist or is not in the “running” state. |
Returns
Boolean
Example
//verify if the timer is currentlyrunning
var runtime= ogscript.isTimerRunning('selftimer');