Thanks Bruno for making this available, I use the previous
version all the time.
Regards,
Guy
-- This module adds a little bit of persistance to the Oberon/F desktop. It allows you to save and restore the documents open on your desktop, and some state information about them (such as their window positions). The desktop information is stored in desktop files, it is therefore possible to maintain a series of desktop files. If you leave Oberon/F the current desktop file is automatically stored and reloaded once you restart Oberon/F.
Most important changes for version 3.0
- PrivSetup is much more robust now. Desktop files can be restored even if files are missing or if they contain information generated by a customized (i.e. extended) version of PrivSetup. - If a modified document is saved to the desktop file and there is a newer version of the original document file when the desktop is opened then the original file is loaded instead of the document in the desktop file. - The desktop state is checked before a desktop is closed (or another one is loaded) and you'll only get prompted if you want to save the desktop if it actually changed. - You no longer get prompted if you want to save data in auxiliary windows that were changed, instead the windows are stored to the desktop and restored accordingly. - PrivSetup can be configured not to used the DevSubsystem anymore, i.e. it is now possible to include PrivSetup in commercial applications. (Maybe you'll want the desktop only to be saved if the user explicitly saves the desktop because of the save-on-exit-problem). - The desktop settings file and desktop files are stored in subfolder "Desktop" by default now. (To change this modify the constant SettingsPath in PrivSetup.) - And the drawback: Due to a change in the file format the old desktop files cannot be read anymore.