Goss3N Posted February 19, 2010 Share Posted February 19, 2010 (edited) ---code--- $coord = PixelSearch( 0, 0, 2048, 1024, 0x0A246A ) Sleep(1000) $x = $coord -1050 $y = $coord -5 MouseMove($x, $y) Sleep(100) MouseClick("Left") ---code--- $x = $coord -1050 $y = $coord -5 this is the hard part i want to minus the x coordinate with 1050 and y coordinate with 5 thanks in advance hmm maybe a bit misleading topic title i tried with out the x/y coords and this is what i got now C:\Documents and Settings\Administrator\My Documents\au3\fesfe.au3 (56) : ==> Subscript used with non-Array variable.: MouseMove( $coord, $coord) MouseMove( $coord^ ERROR so now i have two problems Edited February 19, 2010 by Goss3N Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now