首页 > 其他 > 详细

Change screensaver through registry

时间:2014-01-16 21:03:22      阅读:429      评论:0      收藏:0      [点我收藏+]

If you wanna change the screensaver, you can update registry as follows{autoit script}:

RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaveTimeOut", "REG_SZ", "60")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "REG_SZ", "C:\Windows\system32\ssText3d.scr")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaveActive", "REG_SZ", "1")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaverIsSecure", "REG_SZ", "0")

 

I have updated HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut property in Registry manually but its not reflected in Display Properties Windows 8 GUI.

The result is that screen saver time out value shown in GUI takes precedences over the one in the registry.

When I update the GUI - the registry changes. It appears that this is a one way street - changes made from registry do not take affect the GUI although changes made from the GUI do take affect.

 

Finally, I found it worked after I restart the computer.But I don‘t know why, just do as this.

Change screensaver through registry

原文:http://www.cnblogs.com/jenney-qiu/p/3519004.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!