darklonerlv Posted August 24, 2011 Posted August 24, 2011 func start() $left = False $right = False Do PixelSearch (442,373,449,398,2737969,10) if true then = $left Do PixelSearch (1230,373,1238,398,2737969,10) if true then = $right if $left Then PixelSearch( 814, 339, 821, 354, 13863956, 10 ) Until Not @error if $right then pixelsearch ( 859, 339, 866, 354, 13863956, 10) Until Not @error sleep(GUICtrlRead($inputas)*1000) $Stopped = false Send("{Right Down}") is the code i have what its intended function is to search for 2 locations of a color if a certain one is found to run the corresponding secondary pixel search and continue with the function
Blue_Drache Posted August 24, 2011 Posted August 24, 2011 (edited) First of all, "What is this, I don't even..." Your code doesn't even LOOK like AutoIt code. Your syntax and Engineer's syntax look awfully similar. Regardless, I've answered this question before with a custom function. See this post here: Third ... What are you trying to automate? Edited August 24, 2011 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now