WEB开发网
开发学院WEB开发ASP VBScript自动登录千脑云电脑 阅读

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

Tags:VBScript 自动 登录

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接