How to rebind a key chord with Ctrl
so that it repeats on multiple presses, while Ctrl
is held down?
Example: I'm expertimenting with binding Ctrl
+ Space
to Backspace
.
^Space::Send {BackSpace}
When I now press Ctrl
+ Space
correctly Backspace
is sent and deletes the last character. I want now to keep Ctrl
down and delete further characters with multiple Space
strokes.
诀窍是使用SendInput并释放Ctrl :
^Space::sendinput {Ctrl up}{BackSpace}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.