| INSTALLATION NOTES can be found here. If your are interested in how it works: read on. |
using System;
using System.Runtime.InteropServices;
class MainClass
{
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int SystemParametersInfo (int uAction , int uParam , string lpvParam , int fuWinIni) ;
public static void Main(string[] args)
{
SystemParametersInfo(20, 0, args[0], 0x1 | 0x2);
}
}
Download the SharpDevelop-project here: WallPaperSwitch.zip.
> WallPaperSwitch "C:\myfunkypics\myfunkydesktopwallpaper.bmp"Great. Next step is to flip your display to the right orientation
wpflip -0flips the display to 0 degrees.
wpflip -90flips the display to 90 degrees.
wpflip -180flips the display to guess it.
WallPaperSwitch.exe "C:\myfunkypics\myfunkydesktopwallpaper.bmp" insert-full-path-to-pivotsoftware-folder-here\wpflip -0Save it as 0degrees.bat or so. You'll need such a file for every orientation. Ok, thats it. Try to execute the file, if the wallpaper changes and your display-orientation flips evrything is in perfect order. ALl you need to now is to link the .bat-files on your desktop.
Installation notesWARNING: Making this work is not that easy. But if you, or a good friend with some advanced knowlegde of computers, read the instructions carefully it shouldn't be that hard.Step 1: DownloadDownload this Zip-File: pivotwallpaperhack.zip and extract it.If you don't know how to do this: call your " good friend with some advanced knowlegde of computers". Step 2: Edit the .bat-filesYou'll find 2 files to .bat in the zipfile: up.bat and down.bat.Open these files in your favorite text-editor (like Notepad). Here is the content of down.bat: REM 1. STEP: Insert the FULL path to the wallpaper for orientation of 0 degrees as the frist (and only) parameter. WallPaperSwitch.exe "C:\Temp\fractal1.bmp" REM 2. STEP: Search the folder where your Pivot Software is installed. (look for "C:\Program Files\WinPortait" or similar). Then insert the full path to wpflip.exe below. Add "-0" (for zero degrees) as parameter. C:\Programme\WinPortrait\wpflip -0Now follow the instructions in the file. Do this for up.bat as well. If you don't know how to do this: call your " good friend with some advanced knowlegde of computers". Step 3: Check if the batch-files workExecute up.bat and down.bat. If it works: grats. If not: go back to step 2.If you don't know how to do this: call your " good friend with some advanced knowlegde of computers". Step 4: Create links to the .bat-files..... on the desktop.If you don't know how to do this: call your " good friend with some advanced knowlegde of computers". |