Jump to content

Recommended Posts

Posted

i wrote some code to find a certain color and then move the mouse to that color now im trying to figure out how i can make the mouse move about 30 pixels to the right once it moves the mouse to the color. so when it finds the color it moves the mouse to the color then moves the mouse 30 pixels to the right can this even be done?

Posted

$lct = PixelSearch( 0, 161, 1010, 750, 0x98612e)

If Not @error Then 
    
MouseMove ( $lct[0], $lct[1])
         
         EndIf

theres my code what do i put for the x and y? i just want it to move 30 pixels to the right of that color when its found

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
  • Recently Browsing   0 members

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