Two shortcuts on one key, quick press and hold
Posted: 16 Sep 2019, 03:47
I want to use my right shift key as a up arrow when i tap it, but behave as a regular shift key when I press it and combine with different keys.
My keyboard looks like this:
Broken Link for safety
I hate pressing up and down arrow keys, since they are so small. I want to use both up and down arrow keys as a down arrow, and use quick shift press as up arrow.
Could anybody help? I have around 20 keystrokes remapped and some scripts written, but I don't know how to go about this idea.
That is my current code:
Shift now works as up arrow, but when I press it and hold it, it doesn't behave as shift
My keyboard looks like this:
Broken Link for safety
I hate pressing up and down arrow keys, since they are so small. I want to use both up and down arrow keys as a down arrow, and use quick shift press as up arrow.
Could anybody help? I have around 20 keystrokes remapped and some scripts written, but I don't know how to go about this idea.
That is my current code:
Code: Select all
$RShift::
KeyWait, RShift
If A_TimeSinceThisHotkey > 300
Send {Shift}
Else
{
Send {Up}
}
Return