My issue is that I often release both Alt and Tab virtually at the same time and I might end up with a Tab-release sendt to the target window. This results in the focus shifting away from where I left it.
I have tried both supressing Alt-up and taking over Alt-Tab altogether, but I can't find a way to clean up the order of key releases. The best I've been able to do is make it beep at me every time I release Alt before Tab.
Code: Select all
~*LAlt Up::
{
if(GetKeyState("Tab", "P")){
; SendPlay("{Tab Up}")
SoundBeep(1760, 100) ; A6
}
}