slickvim Posted February 5, 2009 Posted February 5, 2009 Hi, Sorry, but i am new at this. I would like to modify the display settings automatically using AutoIt. Is there another way then to go to the control panel or by doing: Run("control.exe desk.cpl,@0,3") Is it possible to modify it directly by the registries? Can this work?: Dim $valueX, $valueY $valueX = 800 $valueY = 600 RegWrite("HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{...}\0000","DefaultSettings.XResolution","REG_DWORD",$valueX) RegWrite("HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{...}\0000","DefaultSettings.YResolution","REG_DWORD",$valueY) Thank you
colafrysen Posted February 5, 2009 Posted February 5, 2009 Is this what you are looking for?http://www.autoitscript.com/forum/index.php?showtopic=20121 [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
slickvim Posted February 5, 2009 Author Posted February 5, 2009 Is this what you are looking for?http://www.autoitscript.com/forum/index.php?showtopic=20121Cool! Thanks.
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