[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
这样吗?
  1. dim ie1,ie2,avW,avH
  2. set ie1 = wscript.createobject("internetexplorer.application")
  3. set ie2 = wscript.createobject("internetexplorer.application")
  4. avW = createobject("htmlfile").parentWindow.screen.availWidth
  5. avH = createobject("htmlfile").parentWindow.screen.availHeight
  6. with ie1
  7. .visible = true
  8. .navigate("http://www.baidu.com")
  9. .width = avw/2
  10. .height = avh
  11. .left = 0
  12. .top = 0
  13. end with
  14. wscript.sleep 1000
  15. with ie2
  16. .visible = true
  17. .navigate(http://zhidao.baidu.com)
  18. .width = avw/2
  19. .height = avh
  20. .left = avw/2
  21. .top = 0
  22. end with
  23. set ie1 = nothing
  24. set ie2 = nothing
复制代码
---学无止境---

TOP

返回列表