Skip to content

Instantly share code, notes, and snippets.

@Evanito
Created November 17, 2020 19:17
Show Gist options
  • Save Evanito/afc5703e1d6f57087a4d5eaac7923254 to your computer and use it in GitHub Desktop.
Save Evanito/afc5703e1d6f57087a4d5eaac7923254 to your computer and use it in GitHub Desktop.
Use the end key to toggle spamming the space bar
#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
@Evanito
Copy link
Author

Evanito commented Nov 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment