Get Element Value With Ocr

Reads the element's screen area with the Windows text recognition (OCR) feature. Can be used for elements whose value cannot be read through the interface. The area is captured from the screen; the element must be visible on the screen. By default, Element uses the element found by the Get Element activity.


⬅️INPUT

Parameter

Type

Required

Description

Element

IElement

✅ Yes

The element to read. If empty (null) or if it has no area on the screen, the activity throws an error.

Language

OcrLanguage

❌ No

The language to recognize: ENG (English) or TUR (Turkish). Default: ENG. If OCR support for the selected language is not installed in Windows, the activity throws an error; support is added from the language's options in Windows Settings.


➡️OUTPUT

Parameter

Type

Description

Value

String

The recognized text. If no text is found, an empty string is returned.