parent
d7fe390d09
commit
06e029c28c
14
macOS.ahk
14
macOS.ahk
@ -18,6 +18,20 @@ GroupAdd, WebCatalog, Ferdium
|
||||
send #``
|
||||
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 ---------------------------------
|
||||
!x:: ; cut
|
||||
send ^x
|
||||
|
Loading…
x
Reference in New Issue
Block a user