ChrisL Posted December 7, 2007 Share Posted December 7, 2007 (edited) See attached screen gamma program.Once compiled you can run the script and set your screen up as required and save the settings, then if you call the compiled exe file with a /h commandline argument it will set the Gamma without showing the gui.The gamma settings are reset when windows is restarted which is why you would create a shortcut to launch the app with the /h command.The attached image file would get fileinstalled to the compiled exe.Thanks Larry for the initial help with the call to gdi32!Edit: Some graphics cards do not support the Windows gdi32 gamma setting!Edit2: New version attached with load gamma at startup added. Previously 38 downloadsCALGamma.au3 Edited December 16, 2007 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Hermano Posted December 7, 2007 Share Posted December 7, 2007 Hola BRAVISSIMO, you beat me on posting. i am compiling a full library of desktop and multi monitor functions. Setting gamma is included. I call the dll in a slightly different way even if i must say it was difficult to get it right (and i believe there is still space for improvement) The whole library will be loaded by tonight i hope. The code comes from many source but view your experience on a similar topic I will appreciate all your comments and possible extensions. The real nighmare is to make things work on multi-monitor set up and i must say there is still such a huge lack of info on this topic that anybody that can help is absolutely welcome. ------- CARPE DIEM Display_Library_ Skype erase history Win10VirtualDesktopManager Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now