OmniPilot.OnEvery(Hour As Integer, Minute As Integer, Second As Integer, Callback As DelegateOnEvery)
This will establish the timer and the delegate call back for the OnEvery event. After calling OnEvery a timer will be created that will fire the event to call your delegate every specified number of hours, minutes, and seconds.
OmniPilot.OnEvery(0, 1, 30, AddressOf MyOnEvery) ‘ Create a timer that will fire every 1 minute and 30 seconds.
Private Sub MyOnEvery()
LogAction(“OnEvery Timer fired.”)