PoweredDeath 0 Posted July 30, 2006 How could I make an autoit sequence that would search for a color then hover the mouse over the color and start a new script, but if there's no color it would simply exit the script. Share this post Link to post Share on other sites
NELyon 2 Posted July 30, 2006 Check out PixelCheck in the helpfile. Share this post Link to post Share on other sites
Paulie 26 Posted July 30, 2006 Check out PixelCheck in the helpfile.You Mean PixelSearch() Try this $color = PixelSearch(5,5,@DesktopWidth-5, @DesktopHeight-5, *Hex for Color*) If IsArray($color) then MouseMove($color[0], $color[1],0) ;Run other script here Else Exit Endif Share this post Link to post Share on other sites
PoweredDeath 0 Posted July 30, 2006 How could I make that script follow a pixel? Or like loop it until the color is gone. Share this post Link to post Share on other sites
Paulie 26 Posted July 30, 2006 (edited) How could I make that script follow a pixel? Or like loop it until the color is gone.While...Wend loopsRead the helpfilehttp://www.autoitscript.com/autoit3/docs Edited July 30, 2006 by Paulie Share this post Link to post Share on other sites
eynstyne 1 Posted July 30, 2006 Use the Do...Until loop Do ;; Until <Condition> Hide eynstyne's signature Hide all signatures F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent] Share this post Link to post Share on other sites
NELyon 2 Posted July 30, 2006 I should have jsut said "Pixel functions" XD Share this post Link to post Share on other sites
Paulie 26 Posted July 30, 2006 I should have jsut said "Pixel functions" XDLol thats ok, we all make little errors Share this post Link to post Share on other sites