自动运行页面.js

//把文件保存成.js 后缀的文件

var html = "";
    html += "<html><head><title>运行窗口</title></head><body>";
        html += "<font face=verdana></font>";
        html += "</body></html>";
var window

// Create Internet Explorer Object
ie = new ActiveXObject("InternetExplorer.Application");

// Define how the window should look
ie.left       = 50;
ie.top        = 50;
ie.height     = 510;
ie.width      = 470;
ie.menubar    = 0;
ie.toolbar    = 0;

// Set the browser to a blank page
ie.navigate("http://10.122.81.225/asp/ise/Aeko_AeA_remind.aspx");//这是自动运行的网址

// Show the browser
ie.visible=1;

//Open a stream and write data.
//ie.document.open;
//ie.document.write( html );
//ie.document.close;

posted @ 2010-09-15 12:00  Daniel_Lu  阅读(322)  评论(0编辑  收藏  举报