lr.sleep

lr.sleep( milliseconds ) issues a Win 32 sleep command. For details, see Microsoft's Windows API documentation.

Since the script run does not respond to Stop or Pause commands until the sleep time elapses, we recommend to use lr.think_time instead.