enthused wrote:would this work:Code: Select all
SetTitleMatchMode, RegEx ; Create the group only once, with each app window on a separate line. GroupAdd MultiClose, ahk_exe Notepad.exe GroupAdd MultiClose, ahk_exe SciTE.exe GroupAdd MultiClose, ahk_exe thunderbird(.*) !q:: WinClose, ahk_group MultiClose ; No comma between ahk_group and MultiClose. ; Note this closes the windows; it does not kill processes, so some apps ; might continue to run in the backgroud. Return Esc::ExitApp
I have two processes running called AllInOneFYC.exe and AllInOneFYC1055.exe. Is possible to kill them using a group? (AllInOneFYC(.*) or similar)
Thanks