This example sets the current task to run itself every 3 days starting on September 15, 1999 at 11:29AM. When the task runs, it will reschedule itself relative to the time it was originally set to launch. If the task is late, it will not run at all.
Sub Main
' Set the task to trigger by schedule and hotkey
CurrentTask.TaskTriggers = 9
' Set the task to 兎very
CurrentTask.Frequency = 1
' Start launching on September 15, 1999
CurrentTask.LaunchDate = 09/15/1999
' At 11:59 AM
CurrentTask.LaunchTime = 11:29 AM
' Set the interval type to 電ays
CurrentTask.IntervalType = 2
' Set the interval to 3, for every three days
CurrentTask.Interval = 3
' If we are late, don稚 run at all
CurrentTask.RunLate = 1
' Reschedule the task relative to the launch date/time if we are late
CurrentTask.ScheduleLate = 0
' Set the hotkey trigger to Ctrl-Shift H
CurrentTask.Hotkey = %&H
End Sub