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