melvynadam 2008-12-14 00:30
I use a notebook in three different scenarios every day: * At work with a 19" display connected * At home with a 22" widescreen display connected * In meetings and traveling using just the built-in screen
I'd like to set three "profiles" for wallpapers so that in each scenario the wallpaper matches the relevant setup.
Ideally, I'd like to make this change from the command line so that I can create three batch files and just run "office.bat", "home.bat", or "portable.bat" as necessary.
Is this possible with UltraMon?
|
Christian Studer 2008-12-14 02:27
Yes, you can create the wallpaper profiles via UltraMon menu > Wallpaper, then use the /load switch with UltraMonDesktop.exe to load the desired wallpaper.
See UltraMon Help > Scripting > Command-line arguments for details on available command line switches.
Christian Studer - www.realtimesoft.com
|
melvynadam 2008-12-14 19:38
Excellent! Thanks so much. In fact, Windows is far fussier than your documentation and reply above implies. The supplied example in your documentation won't work because of the spaces in the path and file name.
My three new working batch files are as follows:
c:
cd "c:\Program Files\UltraMon\"
UltraMonDesktop.exe /load "C:\Documents and Settings\\Application Data\Realtime Soft\UltraMon\3.0.3\Wallpapers\.wallpaper"
|
William 2009-12-09 15:59
I have tried the above script and trying to adapt it to the 3.0.7 release and have had no luck with it. Here is what I have so far.
c: cd "c:\Program Files\UltraMon\" UltraMonDesktop.exe /load "C:\Users\Will\AppData\Roaming\Realtime Soft\UltraMon\3.0.7\Wallpapers\Landspace.wallpaper"
This is to load a wallpaper profile for landscape usage.
My reasoning is for need of a wallpaper that changes orientation when my main monitor is switched to Portrait and then back again to Landscape.
Any help would be much appreciated.
-Will
|
Christian Studer 2009-12-10 09:58
Removing the quotes from the wallpaper file name will fix the problem, UltraMon is a bit weird in this regard and doesn't use quotes for the wallpaper file name, even if the name contains spaces:
UltraMonDesktop.exe /load C:\Users\Will\AppData\Roaming\Realtime Soft\UltraMon\3.0.7\Wallpapers\Landspace.wallpaper
Christian Studer - www.realtimesoft.com
|
William 2009-12-10 13:12
Thanks for the help!
I got it to work and the script worked perfectly this time. I was trying to figure it out for an hour or so and finally gave up.
-Will
|