Valhalla Legends Forums Archive | Visual Basic Programming | [RESOLVED] - Read Window Text.

AuthorMessageTime
LordNevar
Does anyone know how to go about reading text from an external application. I am not looking for the Title of the App or the Window Title, I can get that. I am trying to see and use specific things in a Internet Explorer window.

EX: Let's say your playing a flash game, and you want to see when the game stops. So the external app can read that and do what it needs to do from that point.
Somewhere on the screen it says "GAME OVER" what API's would I need to work with to get is so the external app can either restart or stop? I can simulate mouse clicks on the other form, I just need the mouse to be able to see what it's clicking, and read when it needs to click.

RESOLVED: Using GetPixel, and SetPixelV.
March 9, 2007, 2:43 AM
l2k-Shadow
Considering it's a flash thing, I don't think you can do this other than reading the pixels in the window to determine when it says GAME OVER...
March 9, 2007, 2:58 AM

Search