but, if i click any extension button on top right corner of chrome, the window that popup will also be maximized.
so, is there anyway to fix this issue? for example, pause the script if chrome is already maximized.
thx a lot!
Code: Select all
Loop {
WinWaitActive, ahk_class Chrome_WidgetWin_1 ahk_exe chrome.exe
WinMaximize
WinWaitNotActive
}