access the text being generated in other windows
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

access the text being generated in other windows

From: algebraist <algebraist@gmail.com>
Date: Wed Jul 20 2005 - 05:25:30 CEST

hi, newbie question here

i play poker on partypoker and ultimate bet (both of which have clients
you have to download)... i was thinking of writing a program that used
the hand histories these clients generate (in little text boxes within
the client)

is there a way python can access the text being generated in other
windows, by other programs/processes?

ultimatehistory.exe is an example of what i'm talking about (written in
C++, i think)... it takes the text output that ultimate bet's client
generates, and saves it to disk... i would like to do something
similar.

cheers
(i'm running python 2.4 on winxp sp2 home edition)

--
Received on Thu Sep 29 17:02:02 2005