I needed this quickly so whipped up this AHK script to quickly minimize or maximize windows using right shift and control. I got really frustrated with the fact there is no windows shortcut to minimize the active window. If you're like me and have many window open then consider using minimIZE to minimize windows to a small desktop thumbnail (and out of your taskbar). In combination with that, this script can make windows management a lot less painlessful.
MiniMe - latest version 4 - February 1, 2008
minimize the current window when pressing right shift twice quickly. maximize the current window when pressing right control twice quickly
v4 - permanently fixed key hold issue
v3 - added jgpaiva's key repeat fix
v2 - changed hotkeys to avoid sending keys
MiniMe - latest version 4 - February 1, 2008
minimize the current window when pressing right shift twice quickly. maximize the current window when pressing right control twice quickly
v4 - permanently fixed key hold issue
v3 - added jgpaiva's key repeat fix
v2 - changed hotkeys to avoid sending keys
Code
; minimize the current window when pressing right control twice quickly
; maximize the current window when pressing right shift twice quickly
#NoEnv
SendMode Input
#NoTrayIcon
Delay = 250
~RControl up::
If (A_PriorHotkey = A_ThisHotkey and A_TimeSincePriorHotkey < Delay)
WinMinimize, A
Return
~RShift up::
If (A_PriorHotkey = A_ThisHotkey and A_TimeSincePriorHotkey < Delay)
WinMaximize, A
Return






VanDragt.com







Thanks for all the help and testing. sometimes I get too excited lol 


