Efficient timed delays are useful for pausing execution while waiting for other tasks to complete. This feature was added with Active Call Center version 2.6.1.
Use the ACCTools.GeneralTools COM object. The GeneralTools object has a Sleep function that can be used for time delays. Follow the example shown in the sample code below to use this object:
Dim gTools
' Create the GeneralTools object
Set gTools = CreateObject("ACCTools.GeneralTools")
' Delay 1.5 seconds (1500 milliseconds).
' The only parameter is the number of milliseconds.
gTools.Sleep 1500