I need a simple screen text reader

Windows specific forum
Mrmike
New User
New User
Posts: 4
Joined: Sun Jun 12, 2005 3:36 pm

I need a simple screen text reader

Post by Mrmike »

Hi guys,

I'm looking for a function that will do this:

http://www.deskperience.com/textcapture/index.html

All I need is the GetTextCaptureRect function.

It needs to be able to read the text that is drawn onto a form.

Theirs only works with 2000 and XP. Would it be possible to make something work with 98?

Thanks,

Mike
Max.
Enthusiast
Enthusiast
Posts: 225
Joined: Fri Apr 25, 2003 8:39 pm

Post by Max. »

Guess what this lib does - as they claim they don't use OCR and they got some limitations - is to hook the GDI textout API and force a redraw, so they can intercept the text.

So it should be doable in PB, but it is not that easy (though quite interesting).
Athlon64 3800+ · 1 GB RAM · Radeon X800 XL · Win XP Prof/SP1+IE6.0/Firefox · PB 3.94/4.0
Intel Centrino 1.4 MHz · 1.5 GB RAM · Radeon 9000 Mobility · Win XP Prof/SP2+IE6.0/Firefox · PB 3.94/4.0
Mrmike
New User
New User
Posts: 4
Joined: Sun Jun 12, 2005 3:36 pm

Post by Mrmike »

Thanks for giving me a hint to what I needed to look for.

I found this:

http://www.codeproject.com/system/Paladin.asp

It is in C++ and they had an example to hook textout and after I commented out the HookAllProcess function and used the HookOneProcess2 function instead then it worked great. Otherwise it crashed XP.

Now if I could only get it converted to PB :)

Thanks for getting me this far.
Mrmike
New User
New User
Posts: 4
Joined: Sun Jun 12, 2005 3:36 pm

Post by Mrmike »

This looks like a piece of the puzzle:

viewtopic.php?t=15313
Mrmike
New User
New User
Posts: 4
Joined: Sun Jun 12, 2005 3:36 pm

Post by Mrmike »

I think that RemoteAPI is a big help:

http://www.purearea.net/pb/showcase/show.php?id=181
Philippe-felixer76-2
Enthusiast
Enthusiast
Posts: 135
Joined: Sat Aug 18, 2007 7:09 am
Location: Netherlands

progress?

Post by Philippe-felixer76-2 »

Mrmike wrote:I think that RemoteAPI is a big help:

http://www.purearea.net/pb/showcase/show.php?id=181
Any progress yet guys?!
Post Reply