Jump to content

Recommended Posts

Posted (edited)

i dont need This to CLICK on i need it to move on !

$Coord = PixelSearch( 0, 0, 1024, 768, 0x713712 )
If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0)
Edited by Xav
Posted (edited)

use

$Coord = PixelSearch( 0, 0, 1024, 768, 0x713712 )
If not @error Then MouseMove ( $coord[0], $coord[1] , 0)

Searching an entire screen is not a good idea, very CPU intensive, so try and use the step function on pixelsearch, or even better, norrow your search down

Edited by Aceguy

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

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...