Created
November 17, 2020 19:17
-
-
Save Evanito/afc5703e1d6f57087a4d5eaac7923254 to your computer and use it in GitHub Desktop.
Use the end key to toggle spamming the space bar
This file contains hidden or 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetTimer, spamSpace, 5 | |
SetControlDelay -1 | |
End::Toggle := !Toggle ; Press end to toggle script on/off | |
spamSpace: | |
if (!Toggle) | |
return | |
send {space} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have AutoHotKey installed, you should be able to right click this file and hit run (once you download it lol)
Useful for opening Hearthstone packs