Document Processing: Capture text from screen area

Extract text from a screen region using OCR.

Help Centre › Functions & Formulas

Extract text from a screen region using OCR.

Add it to a process

In the process designer, open the Add step tab. Find Capture text from screen area under Document Processing › OCR, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
WindowNoThe title of the window to interact with. Supports wildcards: * matches any characters.
Save capture toNoOptional file path to keep the captured picture, for example {folders::desktop::path}\area.png. Leave empty to use a temporary file.
XYesThe left edge of the area to read (in pixels). Default: 0.
YYesThe top edge of the area to read (in pixels). Default: 0.
WidthYesThe width of the area to read (in pixels). Default: 100.
HeightYesThe height of the area to read (in pixels). Default: 50.
VariableYesName of the variable where the OCR text will be stored. Default: data.

What it gives back

  • {data}

See all Document Processing steps.

Errors

ErrorDescription
Window not foundThe specified window could not be found.
Capture failedData could not be captured from the window.

Tips

  • Define capture templates in advance for consistent data extraction.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.