Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GroupAdd, altBlocked, ahk_exe Adobe Premiere Pro.exe ; items added to the group called 'altBlocked' will have the LAlt key blocked from triggering the menu selection
- GroupAdd, winBlocked, ahk_exe Adobe Premiere Pro.exe ; items added to the group called 'winBlocked' will have the LWin key blocked from triggering the menu selection
- #IfWinActive, ahk_group winBlocked
- ; don't know if this works for Win too...
- ~LWin::Send {Blind}{vk07} ; <-- Blocks Left Window key from triggering the Start Menu when pressed by itself. The Right Window key will still work in the default fashion.
- KeyWait, LWin
- Return
- ~LWin up:: ; <-- Part of blocking Left Alt Key from triggering menus
- sendinput, {SC15B up}
- return
- #IfWinActive
- #IfWinActive, ahk_group altBlocked
- ; don't know if this works for alt too...
- ~LAlt:: ; <-- Blocks Left Alt key from triggering the menus when pressed by itself. The Right Alt key will still work in the default fashion.
- sendinput, {SC07E down}
- KeyWait, LAlt
- Return
- ~LAlt up:: ; <-- Part of blocking Left Alt Key from triggering menus
- sendinput, {SC07E up}
- return
- #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement