 return
 #IfWinActive
 
+#IfWinNotActive ahk_group IgnoreApps
 !c::
 Send, {Ctrl down}c{Ctrl up}
 return

} else {
    WinActivate, ahk_exe Code.exe
}
return

GroupAdd, ChomeShortcuts, ahk_exe chrome.exe
GroupAdd, TermShortcuts, ahk_exe WindowsTerminal.exe
GroupAdd, IgnoreApps, ahk_exe synergys.exe

#IfWinActive ahk_group ChomeShortcuts
!t::
