Hi,
I was looking at the space cadet shift script, and I was wondering if it was possible to do one with space and control.
For instance, when you tap the space bar, it sends space. However, when you hold it down, it sends control.
Thank you so much for your help!
Sending space on tap and control on long press
Re: Sending space on tap and control on long press
Code: Select all
$Space::
KeyWait, Space, T.2
If ErrorLevel { ; Held
on := True
Send {Ctrl down}
SoundBeep, 1500
} Else Send {Space}
Return
#If on
^Space::
KeyWait, Space
Send {Ctrl up}
SoundBeep, 1000
on := False
Return
#If