AutoIt3定时重启QQ网关

admin AutoIt3评论1,0221字数 911阅读模式
  1. #NoTrayIcon  
  2. #Region ;**** 参数创建于 ACNWrapper_GUI ****  
  3. #AutoIt3Wrapper_Icon=QQ网吧网关.ico  
  4. #AutoIt3Wrapper_UseX64=n  
  5. #AutoIt3Wrapper_Res_Comment=www.58pxe.com  
  6. #AutoIt3Wrapper_Res_Description=www.58pxe.com  
  7. #AutoIt3Wrapper_Res_Fileversion=20201010  
  8. #AutoIt3Wrapper_Res_LegalCopyright=www.58pxe.com  
  9. #EndRegion ;**** 参数创建于 ACNWrapper_GUI ****  
  10. #endregion ;**** 参数创建于 ACNWrapper_GUI ****  
  11. RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"@ScriptName"REG_SZ"@ScriptFullPath);写入开机启动  
  12. While 1  
  13.     Local $var = @HOUR & ":" & @MIN ;系统时间  
  14.     Local $time = 12 & ":" & 30;定时时间  
  15.     If $var = $time Then  
  16.         ProcessClose("QQNetBar.exe")  
  17.         ProcessClose("qqwb_protect.exe")  
  18.         ProcessClose("UPS.exe")  
  19.             Sleep(5000)  
  20.         ShellExecute("C:\Documents and Settings\Public\QQNetBar\QQNetBar.exe")  
  21.     Else  
  22.     EndIf  
  23.     Sleep(60000)  
  24. WEnd  

更多相关文章

AutoIt3获取操作系统的当前时间

版权声明:文章图片资源来源于网络,如有侵权,请留言删除!!!
admin
  • 本文由 发表于 2020年10月10日 13:37:04
  • 转载请务必保留本文链接:https://www.58pxe.com/6652.html
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: