如何在 AutoHotKey 中为新键编写 COPY

问题描述 投票:0回答:1

我想使用 AutoHotKey 进行复制、剪切和粘贴

在我的键盘上,F2-F6 上方有 5 个键,称为 A、B、C、D、E

我想用

A 表示复制

B 代表剪切

C 代表粘贴

我使用密钥历史记录来识别这些密钥

这是关键历史结果

VK  SC  Type    Up/Dn   Elapsed Key     Window
-------------------------------------------------
FF  112     d   2.63    not found       
FF  112     u   0.00    not found       
FF  113     d   0.23    not found       
FF  113     u   0.00    not found       
FF  114     d   0.80    not found       
FF  114     u   0.00    not found       
FF  112     d   0.89    not found       
FF  112     u   0.02    not found       
FF  113     d   0.22    not found       
FF  113     u   0.01    not found       
FF  114     d   0.30    not found       
FF  114     u   0.02    not found       
FF  112     d   0.44    not found       
FF  112     u   0.00    not found       
FF  113     d   0.22    not found       
FF  113     u   0.00    not found       
FF  114     d   0.27    not found       
FF  114     u   0.00    not found       
FF  112     d   0.45    not found       
FF  112     u   0.00    not found       
FF  113     d   0.22    not found       
FF  113     u   0.00    not found       
FF  114     d   0.26    not found       
FF  114     u   0.00    not found       
74  03F     d   4.44    F5              
Press [F5] to refresh.

那么

A 是 SC 112

B 是 SC 113

C 是 SC 114

如何为这些编写 AutoHotKey?

autohotkey
1个回答
0
投票

感谢0x464e

我找到答案了

我可以将 SC 与密钥历史记录文件中的密钥 SC 结合起来。

所以

A 将是 SC112

B 将是 SC113

C 将是 SC114

© www.soinside.com 2019 - 2024. All rights reserved.