Skip to content

OCR Screenshot

Type: ocr-screenshot  ·  Package: OCR Activities v1.0.0  ·  Output: string

Captures the entire screen and recognizes all visible text. Useful for dumping the textual content of a full screen, or as a previous step to searching for something on it.

Takes a screenshot of the indicated screen (by default the main one) and passes it through OCR. Requires an interactive desktop session.

Ninguno.

ParameterEditorDescription
screenexpressionScreen index (base 0). By default 0 (the main one).
languageexpressionLanguage code: eng (def.) · spa · eng+spa.

Returns a string with all text recognized on the screen.

OCR Screenshot language = "spa" → output: textoPantalla
If condition = = contains(textoPantalla, "Sesión expirada")
└─ then:
... volver a iniciar sesión ...