Created
May 10, 2022 04:06
-
-
Save rbjorklin/be5a62b24a5fe284596ec947f718a437 to your computer and use it in GitHub Desktop.
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 Play ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#SingleInstance Force | |
SetKeyDelay, 500,50 | |
; Intermediate training 1/2 | |
F1:: | |
Send {Up}{j 3}k{Right}jj{Sleep 1000}{k 2} | |
return | |
;; | |
; Intermediate training 2/2 | |
F2:: | |
Send {Up}{j 3}k | |
Send {w Down}k{w Up} | |
Sleep 1600 | |
SetKeyDelay, 0,100 | |
Send {Space} | |
SetKeyDelay, 200 | |
Send {j 2} | |
Send {Right}j | |
SetKeyDelay, 500,50 | |
Send {w Down}k{w Up} | |
return | |
;; | |
; Advanced training 1/3 | |
F3:: | |
SetKeyDelay, 500,50 | |
Send {Right}{s Down}k{s Up} | |
Sleep 200 | |
SetKeyDelay, 0,100 | |
Send {Space} | |
SetKeyDelay, 200 | |
Send j{Up}jjj | |
SetKeyDelay, 500,50 | |
Send {w Down}k{w Up} | |
Sleep 900 | |
SetKeyDelay, 300,50 | |
Send {Right}j | |
SetKeyDelay, 500,50 | |
Send {Right}{s Down}k{s Up} | |
return | |
;; | |
; Advanced training 2/3 | |
F4:: | |
SetKeyDelay, 500,50 | |
Send {Up}{j 3}k | |
Send {Right}j | |
Sleep 500 | |
;SetKeyDelay, 200,50 | |
Send {Left}{s Down}k{s Up} | |
Sleep 200 | |
SetKeyDelay, 0,1700 | |
Send j | |
return | |
;; | |
; Advanced training 3/3 | |
F5:: | |
SetKeyDelay, 600 | |
Send {Left}jkl | |
SetKeyDelay, 170,40 | |
Send {Up}jj | |
SetKeyDelay, 170,500 | |
Send {Right}j | |
Sleep 400 ; 1350 is kinda mid-air | |
SetKeyDelay, 300,120 | |
Send {s Down}k{s Up} | |
;Sleep 300 | |
SetKeyDelay, 250,50 | |
Send {Left}{s Down}k{s Up} | |
return | |
;; | |
; Master training 1/4 | |
F6:: | |
SetKeyDelay, 500 | |
Send {Up}jk | |
Sleep 500 | |
SetKeyDelay, 200 | |
Send jj | |
SetKeyDelay, 250,40 | |
Send {Right}j | |
Sleep 500 | |
Send {Left}l | |
Sleep 300 | |
Send {Up}jj | |
Send {Right}{w Down}k{w Up} | |
return | |
;; | |
; Master training 2/4 | |
F7:: | |
SetKeyDelay, 450,30 | |
Send {Up}jk | |
Sleep 850 | |
SetKeyDelay, 300,20 | |
Send {j 3} | |
Sleep 650 | |
Send {Shift} | |
;Sleep 300 | |
SetKeyDelay, 300,10 | |
Send jj | |
Send {w Down}k{w Up} | |
Sleep 1600 | |
SetKeyDelay, 0,200 | |
Send {Space} | |
;Sleep 700 | |
SetKeyDelay, 250,30 | |
Send jj | |
Sleep 150 | |
Send {s Down}k{s Up} | |
return | |
;; | |
; Master training 3/4 | |
F8:: | |
SetKeyDelay, 400,30 | |
Send {Up}jk | |
Sleep 100 | |
Send {Right}j | |
Sleep 1100 | |
SetKeyDelay, 300 | |
Send {Up}{j 3} | |
Sleep 550 | |
SetKeyDelay, 0,10 | |
Send {Shift} | |
SetKeyDelay, 245 | |
Send {Right}j | |
Sleep 485 | |
SetKeyDelay, 0 | |
Send {Up} | |
Sleep 1000 | |
SetKeyDelay, 200,15 | |
Send jj | |
Sleep 500 | |
SetKeyDelay, 300,30 | |
Send {s Down}k{s Up} | |
return | |
;; | |
; Master training 4/4 | |
F9:: | |
SetKeyDelay, 565,15 | |
Send {Left}jkl | |
SetKeyDelay, 0 | |
Send {Up} | |
Sleep 300 | |
SetKeyDelay, 400 | |
Send {j 3} | |
;Sleep 550 | |
Send {Left}l | |
Send {Up}{j 2} | |
Send {w Down}k{w Up} | |
Sleep 1500 | |
SetKeyDelay, 0 | |
Send {Left} | |
SetKeyDelay, 565,15 | |
Send l | |
SetKeyDelay, 300,15 | |
Send {Right}j | |
Sleep 1100 | |
Send {w Down}k{w Up} | |
return | |
;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not getting the last one to execute properly.
At times it fails to do the third
j
on line number 155At other times, it fails to do the
j
on line 166