Autoclicker triggered after ~.15 seconds after left_click is held. Topic is solved

Ask gaming related questions (AHK v1.1 and older)
MyFingerHurts

Autoclicker triggered after ~.15 seconds after left_click is held.

24 Jun 2017, 15:19

Hey, there's this game I've been playing that I'd like to enjoy but has quite an amount of clicking involved. I was hoping to find a solution for a script that Begins auto-clicking after the left mouse button has been held for an amount of time. Talked it over with their moderators, I can adjust it to both accommodate for my needs and remain in compliance with their rules. Thanks in advance!
FlyFlipper
Posts: 3
Joined: 08 Jan 2017, 16:10

Re: Autoclicker triggered after ~.15 seconds after left_click is held.  Topic is solved

25 Jun 2017, 23:14

https://autohotkey.com/board/topic/1008 ... t-of-time/

Code: Select all

~$LButton::
KeyWait, LButton, T0.15 ;Wait for the LButton key to be release for no longer than x seconds
if (ErrorLevel){  ;If the LButton key was held for more than one second do this
	MsgBox held for 'x' time
}
else { 
Send, {LButton} ;LButton key was held for less than x seconds
}
return

Esc:: ExitApp

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 80 guests