SleepMs Method

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

Syntax

obj.SleepMs(MilliSeconds Number)
Where obj is an OpScrUtil.Utility object.

Parameters

Milliseconds Specifies the number of milliseconds to suspend the script.

Return Type

Boolean.

Example

To suspend the script for 2000 milliseconds, enter:

Set obj = CreateObject("OpScrUtil.Utility")
bOK = obj.SleepMs(2000)