我正在尝试游戏脚本,请单击“ E”或Shift + E(运行时按Shift->)。如何在AHK中使用“ OR”?
e OR +e::
{
Send, E
Sleep, 50
Send, E
Sleep, 50
Send, F
}
return
答案 0 :(得分:1)
$e::
$+e::
Send, E
Sleep, 50
Send, E
Sleep, 50
Send, F
return
$
阻止Send, E
再次触发热键。
也请检查此链接Autohotkey multiple hotkeys mapping to the same function