DualWallpaper does exactly what I need.
How can I run it from a command line / batch file
DualWallpaper is not really suitable for running from a batch file as it is an interactive application.
If there was a particular subset of its functionality that you wanted to be available from a batch file, then if it was possible to specify the activity via command line parameters, I may be able to update the program to perform this.
Do do have developed as command line version of DualWallpaper that currently uses hardcoded values for stretch and always considers all monitors. It gets a filename on the command line and uses overstretch to map it to all monitors.
It completely re-uses the code for the gui version, only the 'main' changed. Therefore some error messages still would show up as Message Boxes. Some refactoring of the orginal code would be needed to avoid this. Anyway, it's working fine for me. If someone else is interested, just drop me a not!
PS: I've added the implementation as attachemen. You should just unpack it in the DualWallpaper folder of the original sources (where the DualWallpaper.sln solution file resides) and then you can add the DualWallpaper_cmd.cdproj file in the DualWallpaper_cmd directory to the original DualWallpaper solution and compile it. Did not test it too much an definitely it could get some beef-up in Command line parsing. But it's a start.
Hi Chris :)
thanks for the great apps :)
can you please compile the command line version and upload it to sourceforge? My compiling skills are 0/100 :)
Oh and add description of the commands if you havent already :)
Thanks again and... Live Long and Prosper :)
I've added the code from Chris (Many thanks for this) to the main source, ready to be built for the next release (1.10). Also added options to allow the stretch type to be specified. Are there any other options that anyone needs?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.