Dyckle Posted July 10, 2006 Posted July 10, 2006 I'm trying to figure this out, but the help file auto it gives is not made for me. I have a loop running thats clicking a few things, and i want to add another thing. I want it to check the color of a certain pixel, and if its a certain color, i want it to click that pixel and type something in. Can anyone help me? I know how to use the window to find the color and coordinates, just need the commands.... Thanks in advance.
Somniis Posted July 10, 2006 Posted July 10, 2006 PixelSearch() PixelGetColor() Just type in "pixel" in the help file....
Dyckle Posted July 10, 2006 Author Posted July 10, 2006 thats the problem, i don't understand the help file.... I'm new to scripting
Dyckle Posted July 10, 2006 Author Posted July 10, 2006 I need to have it do this: Check color of (651, 710) If its dec - 16765184 Hex FFD100 Then click there
Matrix112 Posted July 10, 2006 Posted July 10, 2006 Try this While 1 $var = PixelGetColor(651, 710) If $var = 16765184 Then MouseClick("left", 651, 710) Sleep (15) WEnd
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