Hi I am desperately trying to get the text from a chat window.
My idea was to use win32gui.GetWindowText(). I wrote a program to display any text with win32gui.GetWindowText() by iterating over all past and previous handles and as deep into each handle as there are children. Basically I tried to go trough the z-Axis. Without success.
I also tried to take a picture of the chat and use OCR (tesseract) to reconstruct the text. It seems like the problem is the pictures taken with PIL’s GrabImage() don’t have high enough DPI to work with tesseract.
Also if I use a program such as AutoIt Window info, it does not show the chat message as text. I wonder it is possible to “hide” this chat text.
Any ideas? Help is greatly appreciated!