Can Autohotkey detect a text at a certain coordinate?
Can Autohotkey detect a text at a certain coordinate?
Is it possible to tell a script this: while "word" is NOT found at some (x, y) coordinates of a PDF document, press {this key}, else break?
Re: Can Autohotkey detect a text at a certain coordinate?
If you mean the PDF document is displayed on the screen such that word will appear at a certain location on the screen or at a certain location within that window, then yes, it’s possible. It would most likely require using one of the several OCR libraries that have been published, and I believe at least one supports AHK v2.
Re: Can Autohotkey detect a text at a certain coordinate?
You dont need ocr for searching in pdf.
There are several libraries that can do such a task, for example:
https://stackoverflow.com/questions/4740157/how-to-find-x-y-location-of-a-text-in-pdf
There are several libraries that can do such a task, for example:
https://stackoverflow.com/questions/4740157/how-to-find-x-y-location-of-a-text-in-pdf