At the moment it repeats a key while holding it down, but I can't make it react to any modifers with the same behaviour.
This is what I have:
Code: Select all
$1::
While ( GetKeyState( "1","P" ) ) {
Send, {Blind}{1}
Sleep, 70
}
$2::
While ( GetKeyState( "2","P" ) ) {
Send, {Blind}{2}
Sleep, 70
}
$3::
While ( GetKeyState( "3","P" ) ) {
Send, {Blind}{3}
Sleep, 70
}
$4::
While ( GetKeyState( "4","P" ) ) {
Send, {Blind}{4}
Sleep, 70
}
Return
I press "1" and hold it down -> it repeats "1" with a 70ms delay in between.
I press and hold "SHIFT" after and while holding "1" and it will instead of sending "1", send "SHIFT+1" with the same delay.
When I let go of "SHIFT" and still hold "1" I want it to send "1" again with the same delay.
and at last have regular "SHIFT+1" to act as above.
Is this possible?