gpt4 book ai didi

keyboard-shortcuts - AutoHotKey键序列,而不仅仅是单键热键

转载 作者:行者123 更新时间:2023-12-03 08:29:53 25 4
gpt4 key购买 nike

我不傻...真的。
如何在AutoHotKey中映射键SEQUENCE(即Ctrl + Q,F)。

我按下了Ctrl + Q:

^q::

我什至有F:
f::

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

但这不适用于:
^q & f ::

或以下任何一个:
LCtrl & q & f::
^q & ^f::
^q^f::
^qf::

当这些键之一是Ctrl键时,如何完成触发某些操作的Key SEQUENCE?我考虑使用HOTSTRING来代替,但是在这种情况下却无法确定如何包含Ctrl字符!

最佳答案

好的;答案似乎是:

^q::
Input Key, L1
if Key=f
...some code here...
return

关于keyboard-shortcuts - AutoHotKey键序列,而不仅仅是单键热键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2096253/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com