Sign in to follow this  
Followers 0
ZswiFt

Help with a Left click script

2 posts in this topic

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?

Share this post


Link to post
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)

Share this post


Link to post
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
Sign in to follow this  
Followers 0