Jump to content

MoveMouse


Recommended Posts

Hey Guys :huh2:

I hope you can help ;)

if IsArray ($pixel1) = True Then

MouseMove ($pixel1 [0], $pixel1 [1], 1)

Move mouse 20 pixel down.

MouseClick ('left')

Now how u see i need help, how i can move the mouse 20 pixel under the variable $pixel1.

Thank YOU :alien:

0re0

Link to comment
Share on other sites

$pixel1 = PixelSearch (125, 70, 916, 615, 0xFFFFA0)

While 1

if IsArray ($pixel1) = True Then

MouseMove($pixel1[0], $pixel1[1] + 20 , 1)

MouseClick ('left')

sleep (1000)

EndIf

WEnd

Now the programm should use press with left-click on yellow letters, but in presses always (if I move my mouse, too) to the same position with the color

0xF0F4F9 (standart white). What did I wrong?

Link to comment
Share on other sites

Now the programm should use press with left-click on yellow letters, but in presses always (if I move my mouse, too) to the same position with the color

0xF0F4F9 (standart white). What did I wrong?

try mouseclick() only... read the help about it, it can move the mouse too :huh2:

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...