WinGet, id, list, ahk_exe Dolphin.exe
Loop, %id%
{
this_ID := id%A_Index%
; WinGet, exStyle, exStyle, ahk_id %this_ID%
; If !(exStyle & 0x100)
; Continue
GroupAdd, Dolphin_group_WithoutExceptions, ahk_id %this_ID%
WinGetTitle, title, ahk_id %this_ID%
IfInString, title, ExcludeTitle1
GroupAdd, Dolphin_group_exception1, ahk_id %this_ID%
else
IfInString, title, ExcludeTitle2
GroupAdd, Dolphin_group_exception2, ahk_id %this_ID%
else
GroupAdd, Dolphin_group_ExceptExceptions, ahk_id %this_ID%
}
return
F1:: GroupActivate, Dolphin_group_exception1
F2:: GroupActivate, Dolphin_group_exception2
F3:: GroupActivate, Dolphin_group_ExceptExceptions
F4:: GroupActivate, Dolphin_group_WithoutExceptions