FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   Add to FavoritesAdd to Favorites
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    RSS Get RSS Feed  


Screen OCR To Retrieve Otherwise Undetectable Text

 
Post new topic   Reply to topic    Macro Scheduler and Windows Automation Forum Index -> Scripts and Tips
View previous topic :: View next topic  
Author Message
mtettmar
Site Admin


Joined: 19 Sep 2002
Posts: 4221
Location: Dorset, UK
Reputation: 621
votes: 28
Earn Points, Win a T-Shirt

PostPosted: Mon Oct 08, 2007 7:46 am    Post subject: Screen OCR To Retrieve Otherwise Undetectable Text Reply with quote

Thanks to gpulawski for posting this tip.

If you have Microsoft Office 2003 or Microsoft Office 2007 installed you have something called Microsoft Office Document Imaging, or MODI, which can perform OCR on Tiff and BMP files and is scriptable. Since Macro Scheduler can easily capture the screen, or a window, to a bitmap file, we can use MODI to perform OCR on the screen, or a window, to get its text. Here's how:



This is really handy if you need to get text from a window which is not otherwise detectable - not exposed by the application as real text objects.

Edit: If running Office 2007 MODI is not installed by default. Run your office setup and select from the installation options to install the MODI components.
_________________
Regards,
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Please do not email/PM me for private support - post to the forum so that everyone benefits. For private support please send email via our web site.

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:    View previous topic :: View next topic  
Post new topic   Reply to topic    Macro Scheduler and Windows Automation Forum Index -> Scripts and Tips All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group