on minimize
on minimize
How can I run a script when the minimize button is clicked on a window? (not when a window loses focus)
There are two kinds of people in the world: those who can extrapolate from incomplete data.
Re: on minimize
https://autohotkey.com/boards/viewtopic.php?t=830 with EVENT_SYSTEM_MINIMIZESTART as the specified event might work.
Re: on minimize
Use WinGet, OutPutVar, Minmax [,WinTitle, WinText, ExcludeTitle, ExcludeText]
OutPutVar will be
-1: The window is minimized.
1: The window is maximized.
0: The window is neither minimized nor maximized.
Put it in a SetTimer.
OutPutVar will be
-1: The window is minimized.
1: The window is maximized.
0: The window is neither minimized nor maximized.
Put it in a SetTimer.
I am your average ahk newbie. Just.. a tat more cute.