1、脚本内容
Url="https://blog.youkuaiyun.com/adminmanager1/article/details/105976153"
set wshshell=CreateObject("wscript.shell")
wshshell.Run"""C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe""" & Url
wscript.sleep 2000
wscript.sleep 2000
wshshell.sendkeys "{TAB}"
wshshell.sendkeys "username"
wscript.sleep 2000
wshshell.sendkeys "{TAB}"
wshshell.sendkeys "password"
wshshell.sendkeys "{ENTER}"
wscript.quit
C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe 电脑上谷歌浏览器运行地址
Url:刷新页面的地址
2、电脑设置定时任务
参考:https://jingyan.baidu.com/album/1974b2893acf5ef4b0f7744d.html?picindex=3