Created
December 20, 2022 13:40
-
-
Save LordOkami/70865ff8caf4bb292a6f027972396749 to your computer and use it in GitHub Desktop.
Change same app window in windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!º:: | |
WinGetClass, OldClass, A | |
WinGet, ActiveProcessName, ProcessName, A | |
WinGet, WinClassCount, Count, ahk_exe %ActiveProcessName% | |
IF WinClassCount = 1 | |
Return | |
loop, 2 { | |
WinSet, Bottom,, A | |
WinActivate, ahk_exe %ActiveProcessName% | |
WinGetClass, NewClass, A | |
if (OldClass <> "CabinetWClass" or NewClass = "CabinetWClass") | |
break | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script de autohotkey para cambiar entre diferentes ventanas de la misma app, el shortcut es: alt+º, pero se puede cambiar en la primera línea.