Jump to content
Sign in to follow this  
Sardith

Question

Recommended Posts

Sardith

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
ChrisL

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
Sardith

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
Sardith

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
greenmachine

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
Sardith

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
Sardith

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
ChrisL
Sardith

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.