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 

Minimize after Inactive

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



Joined: 18 May 2005
Posts: 4

PostPosted: Fri Apr 21, 2006 11:30 pm    Post subject: Minimize after Inactive Reply with quote

I have a lot of apps open at once, and most times they just clutter my desktop without being used. I need a script or app that can monitor all my apps and minimize a window after it has been inactive for a certain amount of time.

I have been trying to search for a while now, and even thought about starting up a AHK script using Loop, I just don't know how to get it started.

Also, I have another problem with WinMinimize where when I minimize an app, it doesnt go to my taskbar, but minimizes into an individual box on the bottom of the screen (kinds like Photoshop or Office does when minimizing multiple windows).
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Sun Apr 23, 2006 9:20 am    Post subject: Reply with quote

I see you got the first part working and posted your script, which will hopefully be of use to others as well (that script is at http://www.autohotkey.com/forum/viewtopic.php?t=9422).

Concerning your last question:
If a particular type of window does not respond correctly to WinMinimize, try using the following instead:
PostMessage, 0x112, 0xF020,,, WinTitle, WinText ; 0x112 = WM_SYSCOMMAND, 0xF020 = SC_MINIMIZE
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   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