Wait for Key Press

Declaration

<AMWAITFORKEY XXXXXXXXXXXXXXXXXXXXX>

See Also

Wait for Window, Wait for Pointer, Wait for File, Wait for Process, Close Window

Description

xxxxxxxxxxxxxxxxxxxxxxxx.

Practical Usage

xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.

Parameters

General Tab

Action
Text, optional default match
MARKUP: ACTION="differ"

Specifies whether to wait for matching key(s), wait for differing keys, or if any key is pressed.

The available options are:

match: Wait until the key(s) are pressed.

differ: Wait until a key other then the key specified is pressed..

any: Wait until any key is pressed.

Notes

Standard Failure Handling Options
This action also includes the standard Error Causes and On Error failure handling options/tabs
More on Failure Handling
More on the Error Causes Tab
More on the On Error Tab

Variables and Expressions
All text fields allow the use of expressions by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, a popup expression builder is available in all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...

Example