I've tried using ~LAlt Up:: return
in my AutoHotKey script.
But to no avail the menu bar still gains focus when I lift the key up.
Why does this trick work on other systems but not mine?
Or am I doing something wrong?
Try this:
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
EDIT:
This works in AHK v1.1.28+ without disabling Alt + click or wheel:
~LAlt::Send {Blind}{vkE8}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With