这样吗?
- dim ie1,ie2,avW,avH
- set ie1 = wscript.createobject("internetexplorer.application")
- set ie2 = wscript.createobject("internetexplorer.application")
- avW = createobject("htmlfile").parentWindow.screen.availWidth
- avH = createobject("htmlfile").parentWindow.screen.availHeight
- with ie1
- .visible = true
- .navigate("http://www.baidu.com")
- .width = avw/2
- .height = avh
- .left = 0
- .top = 0
- end with
- wscript.sleep 1000
- with ie2
- .visible = true
- .navigate(http://zhidao.baidu.com)
- .width = avw/2
- .height = avh
- .left = avw/2
- .top = 0
- end with
- set ie1 = nothing
- set ie2 = nothing
复制代码
|