Loken Posted March 29, 2011 Posted March 29, 2011 (edited) hi everyone.My problem with random coords.i need Click a random coord,if pixel found click pixel and click first coord again. Func Coord() $wintitle="MozillaFirefox" $Pixel=PixelSearch(0,0,1000,500,0xFFFFFF) $coordx = Int(Random($minx, $maxx)) $coordy = Int(Random($miny, $maxy)) ControlClick($wintitle, "", "", "left", 1, $coordx, $coordy) If isarray($Pixel)=True Then MouseClick("left",$Pixel[0],$Pixel[1],1,1) EndIf ; MOUSE CLİCK FİRST COORDS. Thanks to all reader does anyone know this, pls? Edited April 2, 2011 by Loken
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