⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p720_ie_inst.ws

📁 javascript source code part2
💻 WS
字号:
<?xml version="1.0" standalone="yes"?>
<job id="jobIE_Inst">
   <script language="jscript" src="objIE.js"></script>
   <script language="jscript" src="dialog.js"></script>
   <script language="jscript">
      <![CDATA[

         objIE.Navigate("c:\\wsh\\html_dialog.htm");

         // wait a bit - time to hook the document
         while (!objDoc)
         {
            WScript.Sleep(100);
         }

         var cAll  = objDoc.all;
         var oBody = objDoc.body;

         objIE.Visible = true;

         // wait until button is clicked
         while ("false" == oBody.getAttribute("UPDATE"))
            ; // do nothing

         var sName   = cAll("txtName").value + "\n";
         var sQuest  = cAll("txtQuest").value + "\n";
         var sColor  = cAll("txtColor").value + "\n";

         objIE.Quit();
         objIE = null;
         WScript.Echo( "Your input:\n\n" + sName + sQuest + sColor );
         WScript.Quit();

      ]]>
   </script>
</job>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -