AutoHotKey 键序列,不仅仅是单键热键

2024-04-06

I'm not stupid... really. How do you map a key SEQUENCE (ie: Ctrl + Q , F) in AutoHotKey.

I've got Ctrl + Q down:

^q::

I've even got F:

f::

帮助文件中的示例甚至展示了如何连续击键两次:

Numpad0 & Numpad1::

但它不适用于:

^q & f ::

或者其中任何一个:

LCtrl & q & f::
^q & ^f::
^q^f::
^qf::

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
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

AutoHotKey 键序列,不仅仅是单键热键 的相关文章

随机推荐