Windows Script Generator for IE

User Guide

Operation steps:

  1. Double-click to execute downloaded HTA file "WinScriptGeneratorForIE.hta"
  2. Input URL address and click "Generate" button
  3. JavaScript code will be generated after analyzing HTML of specified URL
  4. You can try other URL addresses for continuously generating code
  5. Customize generated code and run it
  • You can click "Save to file" or "Copy to clipboard" button to save code
  • You can customize code on program window and click "Run Now" button to run it immediately

Regarding customization of generated code, please google serach for Windows Script, WSH, IE Automation or access some useful information from bottom menu of program interface.

 

Example

1) Double-click "WinScriptGeneratorForIE.hta"

2) Click "Generate" button, then skeleton code for google page will be generated

3) Change code as below

Before change:

/*--------- text --------------------------*/ // ""
//D.q.value = ""; // id
/*--------- submit ------------------------*/ // [ Google Search ]
//WScript.sleep(500);
//D.btnG.click(); // id

After change ( remove some comment ):

/*--------- text --------------------------*/ // ""
D.q.value = "Windows Script"; // id
/*--------- submit ------------------------*/ // [ Google Search ]
WScript.sleep(500);
D.btnG.click(); // id

4) Click "Run now", then google search result of "Windows Script" will be displayed in new IE window

 

Last Updated ( Thursday, 22 November 2007 )