AutoHotKey键序列,而不仅仅是单键热键 [英] AutoHotKey key SEQUENCE, not just single-key hotkey
本文介绍了AutoHotKey键序列,而不仅仅是单键热键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我并不愚蠢……真的. 如何在AutoHotKey中映射键SEQUENCE(即 Ctrl + Q , F ).
I'm not stupid... really. How do you map a key SEQUENCE (ie: Ctrl + Q , F) in AutoHotKey.
我按下 Ctrl + Q 了:
^q::
我什至有 F :
f::
帮助文件中的示例甚至显示了如何连续两次击键:
The examples in the help files even show how to do two keystrokes in a row:
Numpad0 & Numpad1::
但它不适用于:
^q & f ::
或以下任何一项:
LCtrl & q & f::
^q & ^f::
^q^f::
^qf::
当其中一个键是 Ctrl 键时,如何完成触发某些操作的Key SEQUENCE?我考虑使用HOTSTRING代替,但是在这种情况下无法弄清楚如何包含 Ctrl 字符!
How do I accomplish a Key SEQUENCE triggering something, when one of those keys is the Ctrl key? I looked into using a HOTSTRING instead, but couldn't work out how to include the Ctrl character, in that context!
推荐答案
好的;答案似乎是:
^q::
Input Key, L1
if Key=f
...some code here...
return
这篇关于AutoHotKey键序列,而不仅仅是单键热键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文