I want to close all chrome window by a hotkey press.
Code: Select all
WinGet, chromeWindows, List, ahk_exe chrome.exe
Loop % chromeWindows
WinClose, % "ahk_id" chromeWindows%A_Index%
How can i fix the issue and prevent the popup?
Thanks for any help in advance.