samedi 4 avril 2015

Find coordinates of text on a page - c++, windows, VS2013

Is there any way to retrieve the coordinates of input text on the screen (not on the API itself)?


Example in pseudo code:



user types: "example"



example found at [400,355] //on my screen



I have no problem checking if the input is on the screen but I have no idea how to capture the coordinates without OCR which I don't want to have to do.


My question is about webpages in particular but I would also be interested in how to do it in general (notepad text, messenger text...).


Ideas appreciated Thanks!!!





Aucun commentaire:

Enregistrer un commentaire