Code: Select all
#Persistent
SetTimer, CheckKey, 50
return
CheckKey:
GetKeyState, WState, W
if (WState = "D") {
Send, {Shift down}
} else {
Send, {Shift up}
}
return
Code: Select all
#Persistent
SetTimer, CheckKey, 50
return
CheckKey:
GetKeyState, WState, W
if (WState = "D") {
Send, {Shift down}
} else {
Send, {Shift up}
}
return
Code: Select all
#Persistent
SetTimer, PressShift, 10
return
PressShift:
if GetKeyState("W", "P")
{
Send {Shift down}
Sleep 20 ; Ajuste este valor para controlar a velocidade dos cliques de SHIFT
Send {Shift up}
}
else
{
Send {Shift up}
}
return
Code: Select all
Caps Lock::
send, {Caps Lock Down}
loop{
send, {w}
sleep, 100
}
KeyWait, Caps Lock
send, {Caps Lock Up}
return