Events:
Default type: "TIMER"
Timer.StartManual( <ID>, <mode>, <param> )
Timer.StopManual( <ID> )
Mode & Param:
"TIMER" Interval in sec
"CLOCK" "<Hour>:<Minute>"
Examples:
Timer.StartManual( "TIMER1", "TIMER", 5 )
Timer.StartManual( "TIMER2", "CLOCK", "13:40"
)
...
MyTimer1 = hook( "TIMER", "TIMER1", enabled){
...
}
MyTimer2 = hook( "TIMER", "TIMER2", enabled){
...
}
WARNING: StartManual() not support @1..@4 variables!
The following code does not work:
Str("13:40")
Timer.StartManual( "TEST", "CLOCK", @1 )
use Timer() instead of Timer.StartManual():
Str("13:40")
Timer( "TEST", "CLOCK", @1 )
Actions:
1. Timer( <Interval msec> )
Example:
Timer( 2000 ) # Wait 2 sec
2. Timer( <ID>, <mode>, <param> )
Equals StartManual() with support @1..@4 params
|