23
« on: August 22, 2009, 09:21 AM »
Ok, the weekend has arrived, and I tried tackling this program.
And immediately I need some help :'(.
How do I make AHK detect that a user has initiated a maximize action. I read the documentation on OnMessage(), but it seems that it can only receive messages send to the AHK script, not to other windows. Perhaps someone w/ experience can help me with this?
My other idea is to do a continuous loop with WinGet to see if the window is maximized. And if it goes from normal to maximized, then the script will trigger.
Does anyone have a better idea?
Thanks.