Page 1 of 1

I need a simple screen text reader

Posted: Sun Jun 12, 2005 3:50 pm
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

Posted: Sun Jun 12, 2005 10:05 pm
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).

Posted: Mon Jun 13, 2005 1:55 am
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.

Posted: Mon Jun 13, 2005 6:07 am
by Mrmike
This looks like a piece of the puzzle:

viewtopic.php?t=15313

Posted: Mon Jun 13, 2005 3:52 pm
by Mrmike
I think that RemoteAPI is a big help:

http://www.purearea.net/pb/showcase/show.php?id=181

progress?

Posted: Tue Nov 13, 2007 6:19 pm
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?!