0

Timer operations



I normally trigger events with a script like; StartHour = 8 StartMinute = 45 timer1=CreateObject("roTimer") p=CreateObject("roMessagePort") timer1.SetPort(p) timer1.SetDate(-1, -1, -1) timer1.SetTime(StartHour, StartMinute, 0, 0) timer1.Start() How do I add a day of the week parameter. ie. only every Tuesday 1

1 comment

  • 0
    Avatar
    RokuLyndon


    The same way you add hours and minutes. In the object reference, there's a parameter for days of the week, and year as well.
Please sign in to leave a comment.