Prestige Posted June 19, 2013 Share Posted June 19, 2013 I hate this T_T I ended up with this code to learn to use PixelSearch(Move to Red) While True If Not $stop then $Get = PixelSearch(left, top, right, bottom, 0xFF0000) If not @error Then Mousemove($Get[0], $Get[1]) EndIf EndIfWEnd HALP PLEASE! T_T Link to comment Share on other sites More sharing options...
Blue_Drache Posted June 19, 2013 Share Posted June 19, 2013 (edited) That depends on what you're trying to use this for? What program are you using it on? That does actually make a difference. Nevermind. Edited June 19, 2013 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
jdelaney Posted June 19, 2013 Share Posted June 19, 2013 (edited) What game are you trying to automate? Or what app...there are much better ways then keying off color...also, your script is incomplete as provided, you need to define the bounds of the pixel search these are not variables: left, top, right, bottom Edited June 19, 2013 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Blue_Drache Posted June 20, 2013 Share Posted June 20, 2013 jdelaney... read his prior thread. He's automating a game. Don't give him any help. Period. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
jdelaney Posted June 20, 2013 Share Posted June 20, 2013 (edited) *finger on nose*...95 percent of pixel searchers are automating a game The other percent are ignorant of better methods, and the smallest sliver actually need it. Edited June 20, 2013 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 20, 2013 Developers Share Posted June 20, 2013 Strike 2 -> 10 days without being able to post and last warning. Better use this time good by reading our forum rules carefully. Jos 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