VBScript自动登录千脑云电脑
2012-05-16 10:09:37 来源:WEB开发网核心提示:Option ExplicitDim ieobjSet ieobj=CreateObject("InternetExplorer.Application") ieobj.Visible= True ieobj.navigate "http://www.qiannao.com/"D
Option Explicit
Dim ieobj
Set ieobj=CreateObject("InternetExplorer.Application")
ieobj.Visible= True
ieobj.navigate "http://www.qiannao.com/"
Do Until ieobj.Readystate= 4
WScript.Sleep 100
Loop
ieobj.Left =0
ieobj.Top =0
ieobj.width = ieobj.document.parentWindow.screen.availWidth
ieobj.height = ieobj.document.parentWindow.screen.availHeight
ieobj.Document.All("username").Value= "用户名"
ieobj.Document.All("password").Value= "密码"
ieobj.Document.All("username").Form.Submit()
Set ieobj=Nothing
WScript.Quit
更多精彩
赞助商链接
