Help with AltTabMenu
Posted: 18 Jul 2021, 10:05
Hi!
I want to get different functions when I press Ctrl + Alt + 1 , depending on which window is active at the time.
My problem is that I also want that, if none of the windows is active, the program shows me the Alt-Tab Menu (for changing windows), but is not working (nothing happens).
Here is my code:
[Mod edit: [code][/code] tags added.]
Thanks in advance!
Felipe
I want to get different functions when I press Ctrl + Alt + 1 , depending on which window is active at the time.
My problem is that I also want that, if none of the windows is active, the program shows me the Alt-Tab Menu (for changing windows), but is not working (nothing happens).
Here is my code:
Code: Select all
!^1::
IfWinActive Visualizador
SendInput, {Numpad1}
else ifWinActive MedDream
SendInput, {Numpad6}
else ifWinActive CHILERAD
SendInput, {Numpad6}
else ifWinActive RadiAnt
SendInput, {Numpad6}
else
AltTabMenu
return
Thanks in advance!
Felipe