Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Suggestion: HotKey to force specific Wallpaper on specific Monitor

Avatar from Gravatar.com
8 discussion posts
I have one feature I really would like implemented. I have 2 monitors on my PC. One main 24", one side monitor 20" in portrait. Often I make cheat sheet for some program or game I use (PDF or TXT document). Bring it up through Adobe Reader or Notepad on side monitor. Makes it more efficient to work. What I would like was to create this cheat sheet in JPG/PNG and force it as wallpaper on side monitor through a hotkey. But only temporary. I have a 'normal' wallpaper I have there the rest of the time.

My though would be to create a type of hotkey action that you specified a specific monitor and one single picture. When this hotkey is pressed this picture is put up as wallpaper. When pressed again, normal action/wallpaper comes back. That way I could have several hotkeys mapped to different cheat sheets. I really think this could be a powerful usage of extra monitors. At least for me :)

As of now I cannot see any way to make this happen. I have seen the 'Next random wallpaper image' hotkey function. Does not seem to serve this purpose. If there already is a way to achieve this. Or a better one that could be implemented that matches existing logic of utility. Please educate me, always happy to learn new stuff ;)
Sep 18, 2009  • #1
Avatar from Gravatar.com
342 discussion posts
Ok, you can do this with a batch file, cause it probably won't be in DisplayFusion. This works, though, cuz I use it too.

Copy this text into a text file and save it to a .bat file. It's safe to keep it's current settings, but put the full path to your wallpaper in it:

REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "FULL PATH TO YOUR WALLPAPER FILE"
:: Change the last number in the following line to a 0 if you want to center the bitmap on the desktop. Change the last number in the following line to a 2 if you want to stretch the bitmap vertically and horizontally to fit the desktop.
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
:: Change the last number in the following line to a 0 to not tile the image; setting it to a 1 Tiles it.
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
:: The following line refreshes the desktop.
%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

Now what you'll have to do here is find the .bmp file that DisplayFusion creates (the path is in DF's troubleshooting log), make a copy of it, open it up in an editor and past your pic where you want. Point this .bat file to THAT file (the full path mentioned above). Keep the .bat file on your desktop for easy access and just run it when you want a quick swap. Then when you want to switch again, have DisplayFusion just go on the the next wallpaper in it's list. You might have to position your pic a bit to get it just right, but you'll only have to do that once.

If DF gets the option to add your own macros in a button, this kind of thing will get a bit easier, but for now, it's a hack, but it works.
Sep 19, 2009  • #2
Avatar from Gravatar.com
8 discussion posts
Thanks Hadn't though about doing it that way. Will implement that workaround for now. The user32.dll was also helpful, or I would have to write a little util to refresh it. Didn't know about that parameter.
Sep 20, 2009  • #3
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Wallpaper profile support is planned for a future version, but I'm not sure when yet. This is definitely an excellent work-around - thanks benway!
Oct 5, 2009  • #4
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply