OmniPilot_OnEvery | Nirvana Systems Inc.

OmniPilot_OnEvery

OmniPilot_OnEvery

Signatures
OmniPilot.OnEvery(Hour As Integer, Minute As Integer, Second As Integer, Callback As DelegateOnEvery)

Purpose
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.

Example
Sub OnStartUp
    StartOT
    OmniPilot.OnEvery(0, 1, 30, AddressOf MyOnEvery) ‘ Create a timer that will fire every 1 minute and 30 seconds.
End Sub

Private Sub MyOnEvery()
    LogAction(“OnEvery Timer fired.”)
End Sub

Also See
OnEvery Event

>