AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to detect if window is already maximized?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
helpme



Joined: 22 Apr 2007
Posts: 33

PostPosted: Fri May 04, 2007 6:38 am    Post subject: How to detect if window is already maximized? Reply with quote

I would like to program a key such that it toggles between "maximize active window" and "restore active window to previous size".

How can AutoHotkey be made to detect whether the active window is maximized already?
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 8688

PostPosted: Fri May 04, 2007 6:49 am    Post subject: Re: How to detect if window is already maximized? Reply with quote

helpme wrote:
How can AutoHotkey be made to detect whether the active window is maximized already?


See AHK Command: WinGet, OutputVar, MinMax Smile
Back to top
View user's profile Send private message Send e-mail
tic



Joined: 22 Apr 2007
Posts: 1786

PostPosted: Fri May 04, 2007 7:47 am    Post subject: Reply with quote

http://www.autohotkey.com/forum/viewtopic.php?t=18231&highlight=restore+maximize

you should really use the search function on the forums
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group