Jump to content

Mouse move and click does not work


Recommended Posts

Hello,

I have a problem with my script.

#include <Constants.au3>

HotKeySet("{ESC}", "_Terminate")

Fortune()

Func Fortune()
   While 1
      MouseClick ("left", 630, 386, 1)
      MouseMove ( 104, 145, 0)
      MouseClick ("left")
      MouseMove ( 87, 165, 0 )
      MouseClick ("left")
      MouseMove ( 99, 276, 0 )
      MouseClick ("left")
      MouseMove ( 104, 239, 0)
      MouseClick ("left")
   WEnd

EndFunc

Func _Terminate()
    Exit
EndFunc

My mouse just does nothing. It doesnt move or anything. Please help me :(

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