蓝色动力网络

 找回密码
 立即注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 4681|回复: 1

禁止屏幕保护VBS代码

[复制链接]
发表于 2009-7-25 14:54:35 | 显示全部楼层 |阅读模式
做母盘忘记关屏保的朋友可以使用,以下代码存为.vbs运行
  1. Dim WshShell
  2. Set WshShell = CreateObject("WScript.Shell")
  3. WshShell.Run "CONTROL.EXE desk.cpl,,1"
  4. WScript.Sleep 1000
  5. WshShell.SendKeys "{Up}"
  6. WshShell.SendKeys "{Up}"
  7. WshShell.SendKeys "{Up}"
  8. WshShell.SendKeys "{Up}"
  9. WshShell.SendKeys "{Up}"
  10. WshShell.SendKeys "{Up}"
  11. WshShell.SendKeys "{Up}"
  12. WshShell.SendKeys "{Up}"
  13. WshShell.SendKeys "{Up}"
  14. WshShell.SendKeys "{Up}"
  15. WshShell.SendKeys "{Up}"
  16. WshShell.SendKeys "{Up}"
  17. WshShell.SendKeys "{TAB}"
  18. WshShell.SendKeys "{TAB}"
  19. WshShell.SendKeys "{Enter}"
复制代码
发表于 2009-8-24 06:51:40 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

蓝色动力网络微信平台
网站管理,业务合作联系邮箱: admin#lansedongli.com    QQ:13412492 限网站业务问题.
网站帐号、密码、密保找回请使用注册邮箱,发送邮件至 password#lansedongli.com ,否则不予受理.
免责声明:本论坛所有文字和图片仅代表其个人观点.
本站某些资料或文章来自于互联网,不代表本站观点,如果侵犯了您的权益,请来信告知,我们会在三天内删除.
为了给大家一个更好的交流场所,请勿在本论坛发表与中华人民共和国法律相抵触的言论,请合作,谢谢!
Copyright © 2007-2019 Corporation Powered by网吧系统 版权所有    转载请注明!
浙ICP备11043737号-1 程序:Discuz! x3.4

湘公网安备 43018102000145号

手机版|Archiver|蓝色动力网络   

快速回复 返回顶部 返回列表