我试过在我的 AutoHotKey 脚本中使用 ~LAlt Up:: return
。
但是当我抬起键时,菜单栏仍然无济于事。
为什么这个技巧在其他系统上有效,但在我的系统上无效?
还是我做错了什么?
最佳答案
试试这个:
LAlt up::
If (A_PriorKey = "LAlt") ; If LAlt was pressed alone
return ; do nothing
return
; In this case its necessary to define a custom combination by using "LAlt &" or "<!"
; to avoid that LAlt loses its original function as a modifier key:
<!F4:: Send {Alt Down}{F4}{Alt Up} ; <! means LAlt
关于windows-8.1 - 使用 AutoHotKey 禁用 ALT 菜单栏激活不适用于 Windows 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48701137/