Delay is a command that causes the script to wait for the specified number of seconds before continuing. The
return statement exits a handler (with an optional value) and returns to the caller. In the case of the
idle handler, the number returned becomes the rate (in seconds) that the handler is called (in a stay-open application, the idle handler is called repeatedly while the script is idle).