darklonerlv 0 Posted January 1, 2011 $Input1 = GUICtrlCreateCombo("5000", 0, 20, 50, 21) GUICtrlSetData(-1, "5000|5100|5200|5300|5400|5500|5600|5700|5800|5900|6000|6100|6200|6300|6400|6500") "5000" = PixelSearch(471, 482, 471, 482, 13921636, 50) Do(GUICtrlRead($Input1) Until Not @error Send("{UP}") Do(GUICtrlRead($Input2) Until Not @error Send("{UP}") (79,8) : ERROR: syntax error "5000" ~~~~~~~^ i assume i need to call these as functions just not sure what im missing Share this post Link to post Share on other sites
wakillon 403 Posted January 1, 2011 $Input1 = GUICtrlCreateCombo("5000", 0, 20, 50, 21) GUICtrlSetData(-1, "5000|5100|5200|5300|5400|5500|5600|5700|5800|5900|6000|6100|6200|6300|6400|6500") "5000" = PixelSearch(471, 482, 471, 482, 13921636, 50) Do(GUICtrlRead($Input1) Until Not @error Send("{UP}") Do(GUICtrlRead($Input2) Until Not @error Send("{UP}") (79,8) : ERROR: syntax error "5000" ~~~~~~~^ i assume i need to call these as functions just not sure what im missing You Must write a variable name like $_PixelSearch ! "5000" can't be a variable and can't give you a result ! See PixelSearch function in helpfile AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites
darklonerlv 0 Posted January 1, 2011 ty and happy new years to you Share this post Link to post Share on other sites
darklonerlv 0 Posted January 1, 2011 Input1 = GUICtrlCreateCombo("5000", 0, 20, 50, 21) GUICtrlSetData(-1, "$5000|$5100|$5200|$5300|$5400|$5500|$5600|$5700|$5800|$5900|$6000|$6100|$6200|$6300|$6400|$6500") $5000= PixelSearch(471, 482, 471, 482, 13921636, 0) Do $coord = PixelSearch(guictrlread($Input1),guictrlread($Input1),Guictrlread($Input1),Guictrlread($Input1),Guictrlread($Input1),Guictrlread($Input1)) Until Not @error Send("{UP}") is what i have now, and another issue as arrived it seems its not reading the pixelsearch values off this method Share this post Link to post Share on other sites
JoHanatCent 13 Posted January 3, 2011 is what i have now, and another issue as arrived it seems its not reading the pixelsearch values off this methodHi, what you have here does not make a lot of sense?Can you explain what you want to do with the Data in the set because they do not look like coordinates?What is the "Up" suppose to do? Share this post Link to post Share on other sites