I stopped using Toggle2 myself since it's a bit complicated. I just wrote a simpler hotkey. It's called
MaxaMiser.
It works with the active window. If the active window is truly maximized, it does nothing. This is to avoid confusing the window state tracked by the OS. Otherwise it saves the current position and size. Then it "MaxaMises" the window, meaning it leaves a gap by the TaskBar.
The gap is adjustable via .ini file.
Only supports single monitor setups.
But it is a solution to a thorny problem without being intrusive.
The window sizes and positions are saved in an array while the app is running in the Tray. The info is discarded on exit.
If you have a zillion window positions saved and notice TM saying it's eating all the ram then just kill and restart. It uses Scripting.Dictionary.
You should be able to save quite a few window positions without using all that much memory.
On certain functions it calls EmptyWorkingSet() API to dump what it doesn't need just sitting in the tray.
You can download from my hotkeys page. Note that I'm on an Apache server and Linux filenames and paths are case sesitive. "maxamiser.zip" won't work. Has to be "MaxaMiser.zip" etc..
I got too into it too deep to change all the stuff to lower case before I realized I was dealing with a Linux host. Oh well.
Just search for the link on this page:
http://www.favessoft.com/hotkeys.html
If you find a bug there's a contact button on the site.
Note that for applications it gets the exe path then uses the base name, notepad for notepad.exe etc.. as the key in the array. For Explorer windows it tacks the Title onto "Explorer_" so C:\ would yield something like "Explorer_C:\" as the key. If you have multiple views of "C:\" then the position will be overwritten. It's just a little hack after all. Also if it's not saving Explorer positions try enabling the option "show full path in title bar" for Explorer view options.
Free for you to use at your own risk. I hope you enjoy being able to MaxaMise windows without covering RocketDock.
Edit:
Version 1.1 For those who hate to take their hands off the mouse, I added a "Use Alt Middle Mouse Click" option to the tray menu.
