Lingo Dictionary > T-Z > timeoutScript |  |

timeoutScript

Syntax

    the timeoutScript

Description

System property; determines the Lingo that Director executes as a primary event handler when a timeout occurs. The Lingo is written as a string, surrounded by quotation marks. The default value is `EMPTY`.

To define a primary event handler for timeouts, set `timeoutScript` to a string of the appropriate Lingo: either a simple statement or a calling statement for a handler. When the assigned event script is no longer appropriate, turn it off with the statement `set the timeoutScript to EMPTY`.

This property can be tested and set.

Example

This statement sets `timeoutScript` to a calling script for the handler `timeoutProcedure`:

    the timeoutScript = "timeoutProcedure"

See also

`on timeOut`