Program for Mac OS X 10.5, 10.6
To restore windows position automatically
1. Plug in external monitor to laptop.
2. Arrange your windows on both monitors.
3. Unplug external monitor.
4. Repeat step 1.
As a result all windows remain on the internal monitor. And I have to repeat step 2 again and again.
To make step 2 working automatically using some background program.
Each monitor configuration should have it's own windows position config.
Whenever the set of connected monitors is changed, the program should do the following things.
1. Before video driver reinitialisation: Save all windows position for the current monitor configuration. This should not remove the old config, but replace the data for currently opened windows.
2. After video driver reinitialisation: Restore all windows position for the monitor configuration that was just applied, if exists.
The program should support any amount of external monitors.
Different external monitors should be considered as different configuration.
It also should support virtual displays such as produced by ScreenRecycler?.
The program should be a standard mac package with easy installation and deinstallation process.
Source code is requied.