Is it possible to use wildcards (-1), for every entry in a timer, so that it would trigger every second?
I tried:
m.timer.SetTime(-1,-1,-1)
m.timer.start()
and:
m.timer.SetTime(-1,-1,-1,0)
m.timer.start()
Both didn't trigger any event, when I use:
m.timer.SetTime(-1,-1,0)
m.timer.start()
it triggers every minute.
I have a workaround but it is a little bit unhandy, because I have to call the function with each triggered event.
function increaseTimer()
currentTime = m.systemTime.GetLocalDateTime()
currentTime.addSeconds(1)
currentTime.setMillisecond(0)
m.timer.SetDateTime(currentTime)
m.timer.start()
end function