[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
回复 2# 谐夜落风
这种??
  1. nsw= createobject("htmlfile").parentWindow.screen.availWidth
  2. nsh= createobject("htmlfile").parentWindow.screen.availHeight
  3. Set WshShell = CreateObject("WScript.Shell")
  4. Dim OIE
  5. Set OIE = CreateObject("InternetExplorer.Application")
  6. With OIE
  7. .left=nsw-300
  8. .top=nsh
  9. .height=200
  10. .width=300
  11. .menubar=0
  12. .toolbar=0
  13. .statusBar=0
  14. .navigate "About:Blank"
  15. .visible=1
  16. End With
  17. 'wait a while until IE as finished to load
  18. Do while OIE.busy
  19. loop
  20. With OIE.document
  21. .Open
  22. .WriteLn "<HTML><HEAD>"
  23. .WriteLn "<TITLE>批处理之家</TITLE></HEAD>"
  24. .WriteLn "<BODY>"
  25. .WriteLn "<b>批处理之家 </b>"
  26. .WriteLn "<h1> <font color=red> 右下角弹窗! </h1>"
  27. .WriteLn "</BODY>"
  28. .WriteLn "</HTML>"
  29. .Close
  30. End With
  31. do while oie.top>nsh-oie.Height
  32. oie.top=oie.top-2
  33. Loop
  34. wscript.sleep 5000
  35. WshShell.run "taskkill /f /im iexplore.exe",vbhide
  36. Set WshShell = Nothing
复制代码

TOP

返回列表