Jump to content
Sign in to follow this  
Xav

How can it Move Without Click

Recommended Posts

Xav

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

Share this post


Link to post
Share on other sites
Aceguy

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×