Skip to main content

Wait for text

Wait until text appears (or disappears) on the screen or at a position.

Command in the Terminal emulator toolkit · id ooa.terminal/wait_for_text · 9 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesText to wait for.
Timeout (seconds)NumberNo30Maximum wait.
SessionStringNoterminalSession name.
RowNumberNoOnly look at text starting at this row (1-based); anywhere when empty.
ColumnNumberNoColumn (1-based) of that position.
Case sensitiveBooleanNotrueMatch upper and lower case exactly.
Wait until goneBooleanNofalseWait until the text is no longer shown, e.g. a PLEASE WAIT message.
Fail on timeoutBooleanNotrueStop with an error on timeout; when off, found is false instead.
Poll interval (milliseconds)NumberNo500How often to look at the screen.

Outputs​

OutputTypeWhat it is
foundBooleanTrue when the condition was met in time (false only when fail_on_timeout is off).