I have been struggling to get ALL
the text from a screen display. My application tries to do some automation such as:
- Wait for some text to show up or vanish in the screen display.
- Move mouse to some text.
So I need to find all the texts in screen, and locate them.
I have tried to use OCR technology with the screenshot (here). But the result is depressing. Now I turned to the Windows UI automation technology. I am willing to learn COM and anything necessary. I believe it can detect text such as window title, button text, etc. But I deeply doubt that it can do the following things:
- Detect text from the content area of a control, such as text displayed in notepad.
- Detect text displayed in the console window.
Anyone have done such thing before? Any other options?
Thanks!