Since I've been playing around with window sizing and placement leaving a gap for the TaskBar, I thought it time to write something very simple to semi-maximize a window. I use RocketDock and it's too annoying when it gets covered.
MaxaMiser sits in the Tray. Alt Up Arrow adjusts the active window. If the window is truly maximized, nothing happens. This is to avoid confusing the state of the window tracked by the OS. Otherwise, the size and position is saved in an associative array(Scripting.Dictionary to the rescue again.) Then it's sized to the screen dimensions except for a gap by the TaskBar. Use the .ini file option to set the gap size.
A test is done to see if the window is already MaxaMised with previous position info stored. If so, it's repositioned and sized using the stored info.
For apps it uses the basename of the app. Notepad for notepad.exe etc. as the key in the array. For Explorer windows it prepends "Explorer_" so for C:\ window you'd get "Explorer_C:\" as the key. For this reason MaxaMising multiple views of the same folder will overwrite position info. Last one saved wins.
If you find it's not working at all with Explorer windows try setting "show full path in title bar" Explorer view setting to enabled.
See Readme.txt for details.http://www.favessoft.com/hotkeys.html