Screen Scraping

Ask general questions here.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Screen Scraping

Post by atom » Thu Feb 12, 2009 8:01 pm

Hiya

I have the hWND to a window, and want to scrape all the text of the window.
Ive had a dig around the .net libraries, and Windows API, and couldnt find anything. There are tools out there but theyre not free.

Does Ranorex have any screen text capture capability ?

Regards

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Mon Feb 16, 2009 10:48 am

Currently, Ranorex does not support any OCR functionality. You can get the text of a window if it's provided by the WindowText attribute or by a property if it's a Windows Forms control (see Control.GetPropertyValue method). However, you can't get the text from a control if the text is simply drawn and not accessible in any other way.

Regards,
Alex
Ranorex Support Team