Jump to content

Help with a Left click script


ZswiFt
 Share

Recommended Posts

ok so im liek totally lost...how would i make a simple script to repeat left clicks....like thats it

i want to be able to press the hotkey "NUMPADDOT"

and then i want it to perform left mouse clicks over and over until i press NUMPADDOT again

anyhelp pleasE?

Link to comment
Share on other sites

ok so im liek totally lost...how would i make a simple script to repeat left clicks....like thats it

i want to be able to press the hotkey "NUMPADDOT"

and then i want it to perform left mouse clicks over and over until i press NUMPADDOT again

anyhelp pleasE?

take a look at autoit-helpfile: _IsPressed :)

#include <Misc.au3>

$dll = DllOpen("user32.dll")

While 1
    Sleep ( 250 )
    If _IsPressed("23", $dll) Then
       ;MsgBox(0,"_IsPressed", "End Key Pressed")
        MouseClick("left")
ExitLoop
    EndIf
WEnd
DllClose($dll)
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...