联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
with ie.document .write "html内容" end with
Wscript.ScriptFullName:表示自身 wscript.arguments(0)=%1 wscript.arguments(1)=%2 wscript.arguments(2)=%3
Set WshShell = CreateObject("Wscript.Shell") path = WshShell.CurrentDirectory
set WshShell = Wscript.CreateObject("Wscript.Shell") path = WshShell.CurrentDirectory set ie=wscript.createobject("internetexplorer.application","event_") ie.fullscreen=1 ie.width=300 ie.height=100 ie.navigate path & "\" & wscript.arguments(0) ie.left=fix((ie.document.parentwindow.screen.availwidth-ie.width)/2) ie.top=fix((ie.document.parentwindow.screen.availheight-ie.height)/2) ie.visible=1 wscript.sleep 3000 ie.quit
set WshShell = Wscript.CreateObject("Wscript.Shell") path = WshShell.CurrentDirectory set ie=wscript.createobject("internetexplorer.application","event_") ie.fullscreen=1 ie.width=300 ie.height=100 ie.navigate path & "\1.htm" ie.left=fix((ie.document.parentwindow.screen.availwidth-ie.width)/2) ie.top=fix((ie.document.parentwindow.screen.availheight-ie.height)/2) ie.visible=1 wscript.sleep 3000 ie.quit