Ryukk0 0 Posted September 18, 2011 what i wana know is how to search for multy colors in 1 variavle exmpl: While 1 $folder = PixelSearch(0,55, 1023,635, 0x4A2A26,0x231B13,0x127B132) if IsArray($folder)Then MouseClick("left",$folder[0],$folder[1],1,1) send("{ENTER}") sleep(1000) send("{F5}") EndIf WEnd i know i miss somthing there but dont know what =/ any help plz??? Share this post Link to post Share on other sites
JohnOne 1,603 Posted September 18, 2011 You will have to put your multiple colours into an array, and loop through it searching for a match as you do. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
Ryukk0 0 Posted September 18, 2011 can u plz make an exmple? and ty Share this post Link to post Share on other sites
somdcomputerguy 103 Posted September 18, 2011 This might work. I wrote it off the top of my head, and haven't tested it. $Array[3] = [0x4A2A26,0x231B13,0x127B132] While 1 For $c = 1 To Ubound($Array) $Folder = PixelSearch(0,55, 1023,635, $Array[$c]) If IsArray($Folder) Then MouseClick("left", $Folder[0], $Folder[1], 1, 1) Send("{ENTER}") Sleep(1000) Send("{F5}") EndIf Next WEnd - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites