So here are my shortcut on my desktop (I have 2 monitors):
"Rotate 0° Monitor #1" = %windir%\system32\rundll32.exe nvcpl.dll,dtcfg rotate 1 0
"Rotate 90° Monitor #1" = %windir%\system32\rundll32.exe nvcpl.dll,dtcfg rotate 1 90
"Rotate 0° Monitor #2" = %windir%\system32\rundll32.exe nvcpl.dll,dtcfg rotate 2 0
"Rotate 90° Monitor #2" = %windir%\system32\rundll32.exe nvcpl.dll,dtcfg rotate 2 90
Anyway, you see the deal. Beside the rotate command, setgamma command is nice too (1). Personally, I use an old tool of NEC (2) (even if I now own Dell LCDs) but you cannot set different value for each monitor with this tool. If those method aren't precise enough, you can always resort to SetDeviceGammaRamp() function (3). Beware that trying to invert the colors or doing nasty thing like setting all colors to black won't work. I think the checks are that the colors must increase steadily and that the maximum color must be at least 75% but I am not sure.
At the same time I recommend to remove the nv* stuff in your registry HKLM\...\Run key.
---
Update June 9th, 20008. This trick doesn't work on Vista, the dll does a printf with "Error: API not supported on this version of Windows.". That's really sad.
Reference
#1 "NVCPL.DLL API Manual"
http://download.nvidia.com/developer/SDK/Individual_Samples/DEMOS/common/src/NvCpl/docs/NVControlPanel_API.pdf
#2 "NEC Brightness Controller"
http://www.necdisplay.com/products/support/Drivers.cfm
#3 SetDeviceGammaRamp
http://msdn.microsoft.com/library/en-us/icm/icm_0yi8.asp
2 comments:
Wow thanks! That is the most useful post ever! New to windows and just made my first command shortcut ever. Thanks!
This is really awesome and so simple.. was lookin for something like this all over and you saved me a lot of google-time.. cheers m8!!
:)
Post a Comment