Marcus' Macro Blog

Mostly tips, tutorials, articles and news about Macro Scheduler & Windows Automation
January 3rd, 2008 by Marcus Tettmar

In this post I discussed the new Text Capture commands and explained what kind of text can be captured. If you don’t have Macro Scheduler 10 and want to check out the capability of these new commands, and whether or not they can be used to capture your text, you can download this zip file:

http://www.mjtnet.com/software/TextCapture.zip

The zip file contains a compiled EXE and the source script. You can run the EXE on any system even if you don’t have Macro Scheduler installed. Run TextCapture.exe and move the mouse over some text somewhere on the screen and it will be revealed in the dialog.

This script/exe will let you determine whether or not the text you want to capture can be captured with the Text Capture commands. If it is not revealed when you move the mouse over it then it must not be generated by Windows text out functions. See my previous post for an explanation.

[Post to Twitter] Tweet This

2 Responses to “Screen Scrape Text Capture Example”

  1. ravi says:

    is there any scraping text from image file for select area

  2. The only way to scrape text from an image file would be OCR. Text in an image file is not text as far as windows is concerned. It is just a bunch of pixels. So the only way to convert it to ascii text that a computer can understand is some kind of OCR. Two methods of doing this are described here:
    http://www.mjtnet.com/blog/2007/10/08/screen-ocr-to-retrieve-otherwise-undetectable-text/

    And here:
    http://www.mjtnet.com/blog/2006/06/06/screen-ocr-recognising-graphical-text/

Leave a Reply