Home of Macro Scheduler - Macro Tools and Automation Software
Marcus’ Macro Blog
Mostly tips, tutorials, articles and news about Macro Scheduler & Windows Automation
Download Macro Scheduler
Free 30 Day Trial

Screen OCR to Retrieve Otherwise Undetectable Text

October 8th, 2007 by Marcus Tettmar

Some while ago I wrote this post about how to script a tool called Textract to perform OCR against the screen. Well gpulawski has just posted this tip in the forums pointing out that Microsoft Office 2003/2007 comes with something called MODI (Microsoft Office Document Imaging) which can OCR a bitmap or TIFF file and is scriptable. Very cool.

We can use MODI transparently in a Macro Scheduler script to use OCR to extract text from a Window. I’ve posted an example here.

This is really useful if you have a window that doesn’t expose text as text objects and you can’t get at the text any other way (e.g. via the clipboard or controls). You may want to check for the existence of a certain string in a window, or wait for a particular word or phrase to appear in order to determine when a process has completed. If the control doesn’t expose the text and the text cannot be copied to the clipboard, OCR may be the solution.

Bookmark this at:
    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at del.icio.us    Digg Screen OCR to Retrieve Otherwise Undetectable Text at Digg.com    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at Spurl.net    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at Simpy.com    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at NewsVine    Blink this Screen OCR to Retrieve Otherwise Undetectable Text at blinklist.com    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at Furl.net    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at reddit.com    Fark Screen OCR to Retrieve Otherwise Undetectable Text at Fark.com    Bookmark Screen OCR to Retrieve Otherwise Undetectable Text at YahooMyWeb

Leave a Reply

Sitemap | Privacy Policy | © MJT Net Ltd 1997-2008 All Rights Reserved.

Windows Vista and the Windows logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.