New script to close Chrome without killing (killing caused page restore dialog to pop up)

This commit is contained in:
Joe
2020-01-30 06:08:52 -06:00
parent c694cd18a7
commit 263e9fab8a
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
; Close all Chrome windows by sending F4 to the window.
while WinExist("ahk_exe chrome.exe")
{
WinActivate, ahk_exe chrome.exe
Send !{f4}
}