CryingStar Posted February 18, 2008 Posted February 18, 2008 hello! i am using this function: Do PixelSearch ( 666, 649, 668, 651, 0xffffff) Until Not @Error to check if the colour is where it should be and if it is it goes on with the script... now i need a function that does this the same but if the colour is not there it clicks on something thoe it keeps checking by pixel search. Soo basicly i need a function to keep checking for colour and clicking something if not and going on with the script if colour is present... I hope anyone knows this one... Thx in advanced
Zedna Posted February 18, 2008 Posted February 18, 2008 While 1 PixelSearch ( 666, 649, 668, 651, 0xffffff) If @Error Then ExitLoop MouseClick(...) Sleep(100) WEnd Resources UDF ResourcesEx UDF AutoIt Forum Search
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