Skip to main content

Find text on screen

Find where a piece of text appears on the screen.

Command in the Terminal emulator toolkit · id ooa.terminal/search_field · 5 inputs (1 required), 5 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesText to look for.
OccurrenceNumberNo1Which match to return when the text appears more than once.
Case sensitiveBooleanNotrueMatch upper and lower case exactly.
SessionStringNoterminalSession name.
Whole fieldBooleanNofalseOnly match a field whose whole (trimmed) text equals the search text.

Outputs​

OutputTypeWhat it is
foundBooleanTrue when the text was found.
rowNumberRow of the first character (0 when not found).
columnNumberColumn of the first character (0 when not found).
field_indexNumberNumber of the field holding the match, as in Get all fields (0 when not found or the screen has no fields).
countNumberHow many times the text appears on the screen.