Jump to content

How can it Move Without Click


Xav
 Share

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...