Code: Select all
#Requires AutoHotkey v2.0
*a:: {
Static A := 0
Send (A:=!A)?"{Blind}{a down}":"{Blind}{a up}"
KeyWait "a"
}
*d:: {
Static D := 0
Send (D:=!D)?"{Blind}{d down}":"{Blind}{d up}"
KeyWait "d"
}
*r:: {
Static R := 0
Send (R:=!R)?"{Blind}{r down}":"{Blind}{r up}"
KeyWait "r"
}
*s:: {
Static S := 0
Send (S:=!S)?"{Blind}{s down}":"{Blind}{s up}"
KeyWait "s"
}
*w:: {
Static W := 0
Send (W:=!W)?"{Blind}{w down}":"{Blind}{w up}"
KeyWait "w"
}