Post Reply

Forums -> UltraMon™ -> Save Settings
Michael J. Gregg   2002-09-16 15:19
I was trying out the Profiles part of UltraMon, and noticed if I create an 800x600 profiles and 1024x768 profile, and I arrange my icons differently based on the resolution, it doesn't save them for each profile, it's global.

Is there away to save icon positions per profile?

That would be great... So I can switch between 800x600 and 1024x768 resolutions quickly without having to rearrange icons all the time.
Christian Studer   2002-09-17 03:14
Support for configuration-specific icon positions is planned, but won't be implemented before 2.0 final.

It would be possible to do this using scripting. First, you'll need to save icon positions for each profile:

- activate the profile
- arrange the icons as desired
- save icon positions (Options > General, Save Now)
- open regedit.exe
- select the key 'HKEY_CURRENT_USER\Software\Realtime Soft\UltraMon\Saved Positions\Icons'
- choose File\Export from the menu and save the positions to a .reg file

Repeat the steps above for each profile. You now have multiple .reg files with profile-specific icon positions.

To apply the profile, you need a batch file that applies the profile, then loads the profile-specific icon positions.

I have uploaded a sample batch file: ApplyProfile.zip. You will need to customize the batch file, below are comments for each line:

d:

This line changes to the drive where UltraMon is installed. Replace d with the correct drive letter.

cd "\program files\ultramon"

Changes to the directory where UltraMon is installed. Replace with the correct path, but make sure to keep the leading backslash.

start /wait ultramonshortcuts.exe /l D:\Documents and Settings\Christian\...\Default.umprofile

Applies the display profile. Following /l is the path and name of the profile that should be loaded. You can get the location of the Profiles folder by going to Options > Profiles and Shortcuts.

start /wait %windir%\regedit.exe /s "d:\temp\Icons 1024x768.reg"

Loads the .reg file. Set the correct path and file name of the .reg file.

ultramon.exe /r

Restores the icon positions.

If you want to launch the batch files from the UltraMon profiles or shortcuts menu, simply copy them to the correct folder. You can also launch the batch files using hotkeys: Options > Hotkeys, Run application or script.

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> Save Settings

Post Reply