vbs自动登陆115网盘代码:
Sub log115()
Dim ieobj
Set ieobj=CreateObject("InternetExplorer.Application")
ieobj.Visible
= True
ieobj.navigate
"http://u.115.com"
Do Until ieobj.Readystate = 4
WScript.Sleep
100
Loop
If InStr(ieobj.LocationURL,"http://u.115.com/?")>0 Then
ieobj.Silent
=True
Else
ieobj.Document.All(
"account").Value = "aautotest"
ieobj.Document.All(
"passwd").Value = "asd123"
ieobj.Document.All(
"passwd").Form.Submit()
End If
Set ieobj=Nothing
End Sub
log115()
vba版登陆115网盘代码(office中使用)
Sub log115()
Dim ieobj
Set ieobj = CreateObject("InternetExplorer.Application")
ieobj.Visible
= True
ieobj.navigate
"http://u.115.com"
Do Until ieobj.Readystate = 4
DoEvents
Loop
If InStr(ieobj.LocationURL, "http://u.115.com/?") > 0 Then
ieobj.Silent
= True
Else
ieobj.Document.All(
"account").Value = "aautotest"
ieobj.Document.All(
"passwd").Value = "asd123"
ieobj.Document.All(
"passwd").Form.Submit
End If
Set ieobj = Nothing
End Sub

相关文章:

  • 2022-12-23
  • 2022-01-16
  • 2021-10-29
  • 2021-11-26
  • 2021-11-01
  • 2021-11-16
  • 2022-02-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2021-10-21
  • 2021-10-23
  • 2021-12-24
  • 2021-11-22
相关资源
相似解决方案