Add mapping for {cmd}+` equivelent

https://superuser.com/a/1721255
This commit is contained in:
Kenneth Benzie 2024-04-29 21:21:08 +01:00
parent d7fe390d09
commit 06e029c28c

View File

@ -18,6 +18,20 @@ GroupAdd, WebCatalog, Ferdium
send #`` send #``
return return
!`:: ; switch between windows of same app
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
}
; ---------------------------------- Editing --------------------------------- ; ---------------------------------- Editing ---------------------------------
!x:: ; cut !x:: ; cut
send ^x send ^x