New script to close Chrome without killing (killing caused page restore dialog to pop up)
This commit is contained in:
7
GracefullyCloseChromes.ahk
Normal file
7
GracefullyCloseChromes.ahk
Normal 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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user