Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何为单个键设置键盘快捷键。
例如:windows+z将打开该命令。
#z::Run www.autohotkey.com
如果用户按zz两次执行不同的命令,有没有办法?
zz::Run www.google.com
谢谢
我找到了更好的方法,
它不会是同一个键,但我们可以使用多个按键。
1:: Input Key, L1 if Key=z { ;your code } if Key=u { ;your code }