Here's an example:
Code: Select all
#SingleInstance force
~LShift & LAlt::LAlt
#IfWinActive ahk_exe notepad.exe
RButton & LButton::Up
MButton & RButton::Down
1. The context menu doesn't open.
2. The RButton is stuck.
3. Try Left-Clicking out of the chrome window (on another window), LButton doesn't work unless you Right-Click so the RButton virtually goes up, now you can Left-Click.
As you can see we isolated RButton inside a #IfWinActive, but the RButton gets stuck not only on notepad.exe but any other window, as you saw, we tested on chrome.exe.
Kind of a similar issue here: https://autohotkey.com/board/topic/150202-shift-key-gets-virtually-stuck-held-down-while-using-a-script/
Any help?
Thanks