Code: Select all
F13::
KeyWait, F13, T0.5
If ErrorLevel {
SendInput k ;LONG - k
KeyWait, F13
}Else {
SendInput {Right} ;SHORT - right
}
Return
Code: Select all
LWin::
toggle:=!toggle
if toggle {
SendInput, 2
}Else {
SendInput, 1
}
Return