Hyflex Posted November 15, 2011 Share Posted November 15, 2011 (edited) Hey, I'm trying to get pixelsearch to find a color and offset to a certain location and then click... It needs to do the following: $coord = PixelSearch( 200, 230, 860, 535, 0xE75B2C, 1 ) If it was to find it at the coords of: 600, 350 then it needs to click at coords of: 535, 410 which is an offset of -65, +60 Any ideas? Note the following doesn't seem to work: $coord = PixelSearch( 200, 230, 860, 535, 0xE75B2C, 1 ) If Not @error Then MouseClick( "left", $coord[0]-65, $coord[1]+65, 1, 1 ) EndIf Edited November 15, 2011 by XxXGoD Link to comment Share on other sites More sharing options...
jaberwacky Posted November 16, 2011 Share Posted November 16, 2011 Doesn't seem to work how? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
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