//控制外部浏览器
import winex; 
import web.access;

//查找IE窗口
var hwndIE = winex.findEx(,,"Internet Explorer_Server" )
assert(hwndIE,"请先打开IE浏览器，然后再运行本程序!") 
 
wb = web.access( hwndIE ) 

io.open() 
io.print( wb.body.innerHTML )
 
execute("pause") //按任意键继续
io.close();//关闭控制台

