OCR text position

Advanced Macro Recorder/Editor.

Moderator: Pulover

rafaltg2
Posts: 2
Joined: 06 Mar 2021, 08:05

OCR text position

Post by rafaltg2 » 06 Mar 2021, 08:56

How do I get the coordinates of the specified text with OCR?
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: OCR text position

Post by Pulover » 06 Mar 2021, 09:05

This is not available. You can't specify a text to search for, you specify the area to read the text. I believe FindText is what you're looking for (if you're considering using ahk).
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
rafaltg2
Posts: 2
Joined: 06 Mar 2021, 08:05

Re: OCR text position

Post by rafaltg2 » 06 Mar 2021, 09:40

I wanted to use if string contains and if it does then move mouse to this text
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: OCR text position

Post by Pulover » 06 Mar 2021, 10:22

OCR only returns the text so this becomes difficult. You'd have to know the coordinates beforehand.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Post Reply

Return to “Pulovers Macro Creator”