Post Reply

Forums -> UltraMon™ -> App path for icon 'Restore Position'
Alex Kuhlmann   2010-12-10 02:26
On a reboot, all icons from my secondary monitor are moved to my primary monitor. I have the 'preserve position' box checked in the UltraMon menu. When I manually click 'restore icons', the icons move to the right places. I'd like to run the 'restore icons' app in a VBscript file so I'm wondering where this app is located? Thanks
Christian Studer   2010-12-10 07:26
You can do this with the following code:Set sys = CreateObject("UltraMon.System") sys.RestorePositions 2Another way to do this would be to run UltraMon.exe with the /r switch:

UltraMon.exe /r

I'm not sure why automatic icon positioning wouldn't work, maybe it's a timing issue. Delaying UltraMon startup would also be possible, you can do this by setting the AutoStartDelay registry value under HKEY_CURRENT_USER\Software\Realtime Soft\UltraMon\<version> to the number of seconds by which startup should be delayed.

Christian Studer - www.realtimesoft.com
Alex Kuhlmann   2010-12-13 03:49
Thanks for the reply. I'll try to delay the startup to see if it works. Is there also a way to run a display profile through VBscript? I'm running 6 monitors and need to reset the display profile every time I reboot. The name of my profile is 'PCBA monitors.' Thanks for the help!
Christian Studer   2010-12-13 09:54
That's possible via arguments to UltraMonShortcuts.exe, but you can also configure the profile to get applied automatically at login, to do this go to UltraMon menu > Display Profiles > Manage Display Profiles, then right-click the profile and select Edit Display Profile from the menu, then select the Links tab and check 'apply this display profile when logging in'.

For more information on command line arguments for UltraMonShortcuts.exe see UltraMon Help > Scripting > Command-line arguments.

Christian Studer - www.realtimesoft.com
Alex Kuhlmann   2010-12-14 03:52
Great, thanks for your help. It looks like delaying the autostartup by 10 seconds in the registry is working. The icons restore themselves and the display profile sets itself.
Forums -> UltraMon™ -> App path for icon 'Restore Position'

Post Reply