Created
June 28, 2022 15:49
-
-
Save insomniac-afk/80bb014af648aab6cec4931ce7eed26e to your computer and use it in GitHub Desktop.
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
keys = 1,2,3,4,5,XButton1,XButton2,q,e,r,z,x,f ; replace with buttons you wish to spam | |
Loop Parse, keys, `, | |
Hotkey *%A_LoopField%, KEY | |
Return | |
#IfWinActive, FINAL FANTASY XIV | |
KEY: | |
StringTrimLeft key, A_ThisHotKey, 1 | |
t := 0.2 ; initial delay [seconds] | |
Loop { | |
SendInput {BLIND}{%key%} | |
KeyWait %key%, T%t% | |
If ErrorLevel = 0 | |
Break | |
t := 0.1 ; delay *= 1, while delay > 0.2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment