butji Posted December 21, 2006 Share Posted December 21, 2006 okay heres what i got ^^ CODEif MouseDown("left") Then Do MouseClick( "left") sleep(1000) Until MouseUp("left") EndIf what i want it to do: i want it to press left mouse key thingey every 1 second when i hold down left mouse key Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted December 21, 2006 Share Posted December 21, 2006 did you even read what MouseDown does? Perform a mouse down event at the current mouse position. look at _IsPressed Link to comment Share on other sites More sharing options...
Paulie Posted December 21, 2006 Share Posted December 21, 2006 Can't do it with the same button as the trigger as what you want it to spam, try this, works with right click instead of left click. #include <Misc.au3> While 1 If _IsPressed(02) Then While _IsPressed(02) Mouseclick("left") ToolTip("Spamming",0,0) WEnd EndIf ToolTip("",0,0) WEnd Link to comment Share on other sites More sharing options...
butji Posted December 21, 2006 Author Share Posted December 21, 2006 neato ty Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now