Sleep Method

Suspends execution of the script for the specified number of seconds.

Syntax

obj.Sleep(Seconds Long)
Where obj is an OpScrUtil.Utility object.

Parameters

Seconds Specifies the number of seconds to suspend the script.

Return Type

Boolean.

Example

To suspend the script for 2 seconds, enter:

Set obj = CreateObject("OpScrUtil.Utility")
bOK = obj.Sleep(2)