lilandywandy Posted June 17, 2005 Posted June 17, 2005 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?
buzz44 Posted June 17, 2005 Posted June 17, 2005 (edited) You will have to use PixelSearch() to search the whole screen for it. Edited June 17, 2005 by Burrup qq
t0ddie Posted June 18, 2005 Posted June 18, 2005 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now