Sign in to follow this  
Followers 0
Sardith

Question

10 posts in this topic

I wanted to know if it was possible to capture a screen shot or something of the sort. Real time or Screen shot. Then if the text was found on screen. Like "Hello" or something then it used a send command. Is that possible, or is there only pixel search?


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites



I think you would have to use pixel search and write some OCR code to search for the characters, very complicated.

What is it that you need to get the "word(s)" from?

Maybe you can look at WinExists(), WinGetText(), or ControlGetText() functions.

Share this post


Link to post
Share on other sites

Well it's for a game. I want it to send a key string if it see's "hello" on the screen.


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites

Thanks. One step closer I suppose.


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites

What game is it for? There might already be an OCR built for the game.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

It's for Darkages. (Darkages.com) Pretty much, it's so a friend of mine, if I type "Hello" or he does, then it sends a combo "d123456789", from my char and his char at the same time.

I need a way so that it searchs the screen, and if it finds "Hello" then it send's the combo. If not it, just continues to look.

Edited by Sardith

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites

Is any of this possible or no?


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites

It's a client based game..


[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0