Jump to content
Sign in to follow this  
lilandywandy

How can i do this?

Recommended Posts

lilandywandy

While 1

If PixelGetColor(121,771) = Dec("29414a") Then

Send("{F3}")

EndIf

Wend

lets say i dont know the coord, just the color (it appears random)

how can i make my comp so that it clicks green each time it appears?

Share this post


Link to post
Share on other sites
buzz44

You will have to use PixelSearch() to search the whole screen for it.

Edited by Burrup

qq

Share this post


Link to post
Share on other sites
t0ddie

lol, he just told you. problem is, that it might take a few seconds to search the entire screen, especially if the color is only one pixel. and if it appears then vanishes you might not catch it. heh


Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

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.