WindowMinder is a pair of Applescript applications that perform a
small but useful functions: It makes a list of collapsed windows
before restarting/shutdown and restores them at the next startup. The
package also includes a pair of scripts that save and restore window
status while the computer is running.