Home > Language Reference > Wait Functions > Wait for a Time Delay

Wait for a Time Delay

The Pause for a time delay pauses script execution for the specified time.


Used to insert an absolute pause. Insert the code directly, for example Pause 20 secs to wait for 20 seconds. Or you can select Insert/Synchronization on Time Delay menu to generate such a Pause.


Pause x Sec[s]|Min[s]|Ticks|Hours


x, integer, number of seconds, minutes, ticks, hours to wait. A tick is around 0.01 second. Default unit is second (Pause 1 means Pause 1 sec)


EndPause statement is compulsory if the Pause line is just before an UNTIL line.

See also

Wait for a Date
Wait for Image
Wait for a Keystroke
Wait for a Menu Selection
Wait for a Mouse Click
Wait for OCR Text
Wait for a Text
Wait for a Window


Pause 1   'wait 1 second
UseWindow("NOTEPAD.EXE|Edit|Untitled - Notepad|1",1)
 SendKeys("Hello Tester")