Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can read the entire window text using WinGetText() but I am trying to get the text at the current mouse location.

I've found several examples on the AutoHotKey forums but they are all very old (from 2007-2009) and the samples no longer work and in many cases the required files are no longer available.

Is this possible? How would could it be done?

share|improve this question
PLease be more specific, post your code. – user197261 Feb 13 '13 at 11:59

If you can tolerate OCR issues (i.e., garbled data sometimes or incorrect characters), there are working examples on the AHK forums using the GDIP OCR library to screen-capture a window around the mouse and then OCR it back into text for you. Not pretty but it works for some things.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.