Auto Clicker - auto-clicks when the left mouse button is held down. . #ahk #script #snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source http://slanter-ahk.blogspot.de/2009/02/ahk-new-auto-clicker.html | |
# This is a new 5-line autoclicker made possible with the release of AHK 1.0.48. Use Insert to toggle it on and off. | |
LButton:: | |
While GetKeyState("LButton","P") | |
Send {LButton} | |
Return | |
Insert::Hotkey, LButton, Toggle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: http://slanter-ahk.blogspot.de/2008/08/simple-auto-clicker.html | |
# Simply auto-clicks when the left mouse button is held down. Insert toggles the auto-clicker on and off | |
Insert:: | |
Hotkey, LButton, Toggle | |
Hotkey, LButton Up, Toggle | |
Return | |
LButton:: | |
Loop | |
{ | |
If (Stop) | |
Break | |
Send {lbutton} | |
} | |
Stop := 0 | |
Return | |
LButton Up::Stop := 1 |
I used tampermonkey and it said the script was invalid. (if I'm not doing it right just tell me cause I don't have any coding experience
I used tampermonkey and it said the script was invalid. (if I'm not doing it right just tell me cause I don't have any coding experience
you realize tampermonkey is for userscripts right????? you can't just run an ahk file in any text editor
is there a way to increase the cps?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ty