【发布时间】:2021-03-21 01:41:29
【问题描述】:
在 AutoHotKey 中,很少有键表示其他含义,例如 + 表示 shift 我想编写类似这样的脚本,但要按“+”
$*b::
While GetKeyState("b","P")
{
Send, {Blind}b
Sleep, 10 ; every 10 miliseconds
}
Return
【问题讨论】:
标签: autohotkey
在 AutoHotKey 中,很少有键表示其他含义,例如 + 表示 shift 我想编写类似这样的脚本,但要按“+”
$*b::
While GetKeyState("b","P")
{
Send, {Blind}b
Sleep, 10 ; every 10 miliseconds
}
Return
【问题讨论】:
标签: autohotkey
您可以按照文档here 中的步骤使用任何按钮创建热键。 StackOverflow 不喜欢链接,所以下面是它背后的内容:
SC159:: ; Replace 159 with your key's value.
MsgBox, %A_ThisHotkey% was pressed.
return
【讨论】:
plus::?