I tried to figure it out, but apparently I did not have enough zeal, so I ask for help
I need to create two scripts that multiply the result from a single physical press of a key (NUMPAD 2) in 2 and 3 times.
Simply put, get the effect like from double PHYSICAL pressing of the key, but with a single
IMPORTANT: The script should work when starting a certain program!
Would be nice if you help me, or point my mistake
Code: Select all
F11::Suspend
; KP2 - KP2KP2KP2
SetKeyDelay, 0
vk62sc050::SendEvent, {vk62sc05}{vk62sc050}{vk62sc050}
Code: Select all
vk62sc050:: ;Numpad2 3x.
Loop, 3 ; Cycle 3x
{
Send, {vk62sc050} ; Numpad2
}
Return
I'm not glad with result of my development. The fact is that when you press the key, too many operations are triggered, more than required. Also, these triggers are not obtained in physical form. A computer clicks a push, but I dont get the proper result.
The problem is in the range of operation (the time of the clamped key). This should be between each trip to simulate real push