I looked at the documentation and these things below under winclose don't seen to correspond to the name of the website, such as https://google.com. I would like to close all google.com's for example.
ahk_class
ahk_id
ahk_pid
ahk_exe
ahk_group
Code: Select all
#SingleInstance, force
^z::
WinGet, OutputVar, List
msgbox, % outputvar
a := 1
loop, % outputvar
{
if winexist("ahk_id" . outputvar%a%)
winkill
a++
}
not sure how to use it though