I'd like to restore the Window's Alt+Tab functionality that I broke by remapping the LAlt key to a virtual F22 key for other purposes.
I've tried the "AltTab" hotkeys but wasn't able to get the desired result: https://www.autohotkey.com/docs/Hotkeys.htm#alttab
My current code:
Code: Select all
LAlt::F22
F22 & Tab::
Send {LAlt Down}{Tab}
KeyWait, F22 ; Wait to release F22 key
Send {LAlt Up} ; Close switcher on hotkey release
return
If my explanation doesn't make sense, the desired outcome should: I just want to get back the full Alt+Tab functionality using the LAlt(F22)+Tab keys, without removing this LAlt::F22 remapping.
Thank you.