pepsip77 Posted March 18, 2012 Share Posted March 18, 2012 Hi there, I'm new to this programming language, so I wanted to ask is there any way to loop pixelsearching for specific pixel and when there is no pixel it continues working. Something like: While IsArray($pixel2) = True Then MouseMove($pixel2 [0], $pixel2 [1],1) MouseClick('left',$pixel2 [0], $pixel2 [1],1) Sleep(1000) WEnd If IsArray($pixel) = True Then MouseMove($pixel [0], $pixel [1],1) MouseClick('left',$pixel [0], $pixel [1],1) Sleep(5000) EndIf Link to comment Share on other sites More sharing options...
Developers Jos Posted March 18, 2012 Developers Share Posted March 18, 2012 Told you yesterday not to open a thread again on the same topic even when it isn't explicit anymore.... right? You will not be able to post for the next 3 days and consider this the last warning. click SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts