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