This function waits the number of specified milliseconds. The application still processes events, but will sleep so the script does not use all the CPU.
Parameter: Millisecs
Type: Integer
Description: The number of milliseconds to wait.
None.
' wait 2 seconds
hsp.WaitMS 2000