Wait
The Wait action pauses the macro for a specified duration. It works in two ways: a Value (a number of milliseconds, which can be a fixed number or an expression) and a Random range between two values.
Overview
Section titled “Overview”In the + Add Action menu, under Wait and Find, Wait opens a single editor with two modes:
- Value – the pause in milliseconds. Type a plain number like
500, or an expression like{baseDelay} * 2. Variable autocomplete appears as you type{. - Random – two values; the macro waits a random duration between them. Each can be a number or an expression.
You’ll find Wait actions sprinkled through recorded macros for any gap longer than 100 ms (shorter gaps are baked into the previous event). For hand-built macros, Wait is how you let UI catch up between actions.
How to use
Section titled “How to use”Add a Wait
Section titled “Add a Wait”- Click + Add Action → Wait.
- Pick the mode: Value or Random.
- Enter the value(s) – a plain number, or an expression that uses
{variableName}. - Optionally toggle Ignores playback speed (see below).
- Save.
Pick the right mode
Section titled “Pick the right mode”- Value for “give this UI 500 ms to settle” (type
500) or “wait a duration computed from a variable” (type{baseDelay} * 2). - Random for “wait somewhere between 800 and 1200 ms” – useful for making the macro more dynamic, for example to test a flow with different timings.
Options & settings
Section titled “Options & settings”| Option | What it does | Default |
|---|---|---|
| Mode | Value or Random. | Value |
| Value | The pause in milliseconds – a plain number, or an expression or {variable} that evaluates to a number. | – |
| From (Random) | The lower bound (ms) – a number, or an expression. | – |
| To (Random) | The upper bound (ms) – a number, or an expression. Should be greater than From. | – |
| Ignores playback speed | When on, the wait runs at its real-world duration and is not divided by the Run Settings playback speed or affected by Vollgas. | Off |
The “ignores playback speed” flag
Section titled “The “ignores playback speed” flag”By default, every Wait is divided by the Playback speed multiplier in Run Settings. A 1000 ms wait at 2× speed becomes 500 ms. Vollgas (Max Speed) caps it at 50 ms.
Sometimes that’s not what you want – waiting for a server response, an upload to finish, a video to play – needs a real-world duration. Turn on Ignores playback speed for those waits.
When on:
- Speed multiplier has no effect on this wait.
- Vollgas has no effect on this wait.
- The wait takes exactly what you specified (or the expression result).
Notes & limitations
Section titled “Notes & limitations”- The unit is always milliseconds. 1000 = 1 second. 60000 = 1 minute.
- Expressions (in Value or Random) evaluate at run time, not when the action is saved. A variable referenced in the expression is read at the moment the wait runs.
- All pauses inside a recording are preserved. Gaps over 100 ms become explicit
Waitactions in the list; shorter gaps stay invisible but the timing is still saved. - Esc Esc cancels a wait immediately, before it finishes, and opens the Continue / Stop dialog. A single Esc press is ignored – the double-press (within 0.5 s) is required to prevent accidental interrupts.
- Expressions must evaluate to a non-negative number. If the expression returns text or a negative number, the macro stops with an evaluation error. See Variables and Expressions for type rules.
- Random’s From and To must both evaluate to numbers, and To must be greater than From at run time. Otherwise the action fails.
- Wait is purely a time delay. It doesn’t check anything. If you need to wait until something is true (a button appears, a color changes, text shows up), use Find Image, Find Text, or Check Color instead.
Related
Section titled “Related”- Check Color – wait until a pixel matches a target color, not just a fixed time.
- Find Image – wait until a reference image appears (or disappears) in a region.
- Find Text – wait until text appears (or disappears).
- Variables and Expressions – how the Value and Random fields evaluate their expressions.
- Run Settings: Speed, Loops, and Vollgas – how speed and Vollgas affect waits.
- Timer – measure elapsed time instead of pausing for it.