使用 alt 的组合键, 监听到 ahk 会发送一个 ctrl , 这是为什么?

遇到了问题?请先进行搜索(中文和英文),然后在此提问

Moderators: tmplinshi, arcticir

doit132
Posts: 2
Joined: 12 Nov 2022, 21:09

使用 alt 的组合键, 监听到 ahk 会发送一个 ctrl , 这是为什么?

10 Dec 2022, 10:40

以下为测试代码:

Code: Select all

#SingleInstance Force
; 速度快
SetWorkingDir A_ScriptDir
; SendMode("Input")
; 无条件安装键盘钩子,防止丢失
InstallKeybdHook()
!j::Down
监听图

Image
Attachments
image.png
image.png (12.74 KiB) Viewed 1550 times
jerviscui

Re: 使用 alt 的组合键, 监听到 ahk 会发送一个 ctrl , 这是为什么?

03 Aug 2023, 02:36

可以设置为其他按键。
即便更改了也还有一个问题,alt会反复触发,看你history列表里就能看出来。
不知道能不能解决持续按住不要一直触发up down?

Return to “请求帮助”

Who is online

Users browsing this forum: No registered users and 14 guests