0
Reply

Extracting text from a third party program

Ricky

Ricky

Sep 29 2008 6:27 AM
2.1k
Hi all,

I want to extract text from a chat window in a poker client. This is acceptable by the client (Pokerstars) so in no way illegal.

However, I've been struggling with this.

So far I've tried WM_GETTEXT, finally got that working on some test applications (I tried getting the value from Calculator, Notepad) etc and could return the correct values. When running it on the Pokerstars client I recieve blank text. I've now aware that this is because it is not a Windows control.

I don't really think an OCR route will help and I think hooking (if that's what it is) will give me the same results as above.

Any other suggestions? Thanks! :)

- Ricky