OCRExtract using local image /screenshot

Can UI.Vision use a file from /screenshot as an image for OCRExtract command instead from the one in /vision?

Seems I have no luck on using the former.

Do you mean as input image for the OCRExtract command or as the image to search the text on? Both should work.

Hi ulrich. Once again, thank you for your response.

I’m getting this error when using OCRExtract | pathtoscreenshot | value

No input image found for file name ‘/Users/xxx/Documents/xxx/macros/uivision/screenshots/OCRImage.png’

Is my syntax wrong?

For input images absolute paths are not supported (yet?). But in native file mode you can copy your image to the /image folder of ui.vision.