vbs打开网页并全屏
生活随笔
收集整理的這篇文章主要介紹了
vbs打开网页并全屏
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
vbs打開網頁并全屏腳本
IE瀏覽器
Set IE = CreateObject("InternetExplorer.Application") IE.Visible = true IE.FullScreen = true IE.Navigate "http://localhost/login.do"set s = WScript.createObject("WScript.Shell") WScript.Sleep 1000 s.SendKeys "{TAB}" s.SendKeys "admin"'賬號! s.SendKeys "{ENTER}" s.SendKeys "{TAB}" WScript.Sleep 500 s.SendKeys "123456"'密碼! s.SendKeys "{TAB}" WScript.Sleep 500 s.SendKeys "{ENTER}"chrome瀏覽器
Set s = CreateObject("WScript.Shell") s.Run"""C:\Users\Local\Google\Chrome\Application\chrome.exe""" & "http://localhost/login.do"WScript.Sleep 5000 s.SendKeys "{F11}" WScript.Sleep 500 s.SendKeys "{TAB}" s.SendKeys "admin"'賬號! s.SendKeys "{ENTER}" s.SendKeys "{TAB}" WScript.Sleep 500 s.SendKeys "123456"'密碼! s.SendKeys "{TAB}" WScript.Sleep 1000 s.SendKeys "{ENTER}"總結
以上是生活随笔為你收集整理的vbs打开网页并全屏的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【小程序源码】游戏助手王者荣耀战力查询,
- 下一篇: 在Storyboard中设置border