This tutorial is based on the following action command:
Action.CreateTimedEvent <delay time>, "<code>", Repeat (True/False)
Here is a very helpful routine if you use multiple running timed events and you need to stop them all!
Put this in your arsenal of commonly used routines.
- Code: Select all
'Stop all repeating timed events that were started using Action.CreateTimedEvent <delay>,"<code>", True
Sub RemoveTimedEventAll()
Dim count
count = TimedEventObject.count
for x = 1 to count
Action.RemoveTimedEvent count
next
End Sub