Dyckle Posted July 10, 2006 Share 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. Link to comment Share on other sites More sharing options...
Somniis Posted July 10, 2006 Share Posted July 10, 2006 PixelSearch() PixelGetColor() Just type in "pixel" in the help file.... Link to comment Share on other sites More sharing options...
Dyckle Posted July 10, 2006 Author Share Posted July 10, 2006 thats the problem, i don't understand the help file.... I'm new to scripting Link to comment Share on other sites More sharing options...
Dyckle Posted July 10, 2006 Author Share 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 Link to comment Share on other sites More sharing options...
Matrix112 Posted July 10, 2006 Share Posted July 10, 2006 Try this While 1 $var = PixelGetColor(651, 710) If $var = 16765184 Then MouseClick("left", 651, 710) Sleep (15) WEnd Link to comment Share on other sites More sharing options...
Dyckle Posted July 11, 2006 Author Share Posted July 11, 2006 EXACTLY what I wanted!!! Thank you Link to comment Share on other sites More sharing options...
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