• Welcome to Valhalla Legends Archive.
 

[RESOLVED] - Read Window Text.

Started by LordNevar, March 08, 2007, 08:43 PM

Previous topic - Next topic

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.

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

l2k-Shadow

#1
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...
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.