- //简单的网页操作例子,参考自以下两个帖子
- // http://bbs.vrbrothers.com/viewthread.php?tid=52130
- // http://bbs.vrbrothers.com/viewthread.php?tid=48883
- 开始VBScript块
- address="http://www.baidu.com"
- keyword="网易新闻"
- set ie=createobject("internetexplorer.application")
- ie.visible=True
- ie.navigate address
- Do while ie.readystate < 4
- 延时1000毫秒
- Loop
- ie.document.getelementbyid("kw").value=keyword
- ie.document.getelementbyid("sb").click
- 结束VBScript块