返回列表 发帖
为什么不用internet.application?起码现在的网页还是支持ie11的吧
你好

TOP

  1. set ie=createobject("internetexplorer.application")
  2. ie.visible=false
  3. ie.navigate "https://shop.ele.me/apps/pc/?t=ls-pc"
  4. do until ie.readystate=4
  5. wscript.sleep 100
  6. loop
  7. url=ie.document.getelementsbyclassname("pc-download")(0).getelementsbytagname("a")(0).href
  8. Set http = CreateObject("Msxml2.XMLHTTP")
  9. Set ado = createobject("Adodb.Stream")
  10. with http
  11. .open "GET",url,false
  12. .send
  13. ado.Type =1
  14. ado.Open
  15. ado.Write .responsebody
  16. ado.SaveToFile "1.exe"
  17. ado.Close
  18. end with
  19. set ws=createobject("wscript.shell")
  20. ws.run "1.exe"
复制代码
简单粗暴 不动脑子 直接用浏览器找好吧
你好

TOP

实测可用
绝对好用 速度也不慢
你好

TOP

回复 16# idwma


    这个不能用额
你好

TOP

回复 20# idwma


    你不去搞个xp或者2000应该没大问题吧……我也不知道
我在mshta(ie7)试了一下 卡了好久才报错……
你好

TOP

回复 26# mzzyb


    ie支持自动化
你好

TOP

返回列表