There are screenshot utilities which take a picture, as an image, of a defined rectangle of user-defined dimensions (such as the one by Donation Coder). I need something similar, but to copy text.

For the right utility, I'm willing to purchase.

I am using Windows 7.

  • 1
    AutoHotKey might be a possibility here. Apr 16, 2019 at 4:07
  • is the text selectable? if not OCR would be the easiest way
    – Rainb
    Dec 7, 2020 at 10:10

2 Answers 2


A paid (but reasonably priced, US$49.95) program known as SnagIt for Windows and Mac may serve your purposes. It's a rather capable screen capture utility that allows the user to select entire screen, specific windows, selected areas (drag out a box) and perform various actions on the captured information.

For your question, and according to this tutorial, SnagIt will do exactly as you require. My experience with the software also confirms this capability.

You would use the properties option for your capture to set a specific window size and location as well as the actions to be performed (Grab Text) to create a profile within the program. This would then be activated each time you press the Print Screen button (or any user selected keys).

SnagIt also allows automatic file saving, although I did not research the OCR aspect of this feature. With "ordinary" graphics captures, the user specifies a folder destination, a file name prefix and an increment figure. An example of the default filename prefix is snagit followed by 0000 and the appropriate extension (.jpg, .pdf, .txt, etc.). Each press of the hot key then increments the counter and stores the information.

I typically disable the preview feature in properties, as I usually don't need to see each captured screen until later. If it's a complex profile, I might leave preview enabled for one or two captures.

The publishers of the program offer a free trial, which I suspect would be valuable if you should discover that the features do not meet your requirements.

  • I think you're on to something there -- "grab text" is exactly what I need. But making an image and then putting it through OCR seems like flying through Japan in order to get from California to New York. Aug 3, 2018 at 15:56
  • It's not out of the question that the automatic OCR would make use of a direct text capture from appropriate windows/regions. Considering that the OCR happens as a built-in feature, it's not so much the Japan diversion as it is perhaps the extra time involved?
    – fred_dot_u
    Aug 3, 2018 at 16:44

Sounds like a scenario for Sikuli.

You can write a sikuli script to send keyboard or mouse inputs to defined regions of the screen, or regions recognized through template matching. If the text you want to copy is near an icon for example it should be able to match it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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