我尝试在我的AutoHotKey脚本中使用~LAlt Up:: return
。
但是,当我抬起钥匙时,菜单栏仍然无法获得关注。
为什么这个技巧适用于其他系统而不是我的?
或者我做错了什么?
答案 0 :(得分:4)
试试这个:
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