A script for delaying the press of control Topic is solved
A script for delaying the press of control
Hello, I find myself in need of a script that would delay the pressing of my control button by 15 milliseconds whilst preserving all other behavior of the button. So that holding it would be possible as normal. Basically i want to be able to crouch, and then stay crouched as long as I'm holding control, but with 15ms delay from when i press control. I have no clue how to make any scripts by myself, so I'm asking for help here. Thank you very much.
Re: A script for delaying the press of control Topic is solved
Welcome to this AutoHotkey forum!
Code: Select all
#Requires AutoHotkey v2.0
LCtrl::
RCtrl:: {
Sleep 15
Send '{' ThisHotkey ' down}'
SoundBeep 1500
KeyWait ThisHotkey
Send '{' ThisHotkey ' up}'
SoundBeep 1000
}
Re: A script for delaying the press of control
Works perfectly, does exactly what i wanted, thank you so much.