AutoHotKey key SEQUENCE,不仅仅是单键热键 [英] AutoHotKey key SEQUENCE, not just single-key hotkey

查看:46
本文介绍了AutoHotKey key SEQUENCE,不仅仅是单键热键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不傻……真的.您如何在 AutoHotKey 中映射键序列(即:Ctrl + QF).

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 键时,我如何完成触发某些操作的键序列?我考虑使用 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 key SEQUENCE,不仅仅是单键热键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆