Rob van der Woude's Scripting Pages

 

 

HTA & WSC Examples

Download the ZIPped sources Click the floppy disk icons to either download the ZIPped sources, or navigate to the product/download page

Checksums for the ZIPped sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPped sources

 

HTA & WSC examples
Click the floppy disk icons to download the ZIPped sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPped sources Name Version Description Last modified
(yyyy-mm-dd)
Remarks
Click the floppy disk icon to download the ZIPped source   ADSITest.hta 0.20 Test and debug ADSI queries 2007-06-19 Requires ADSI client software.
This HTA combines several sample script from Don Jones' book VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration.
Click the floppy disk icon to download the ZIPped source   BirdName.hta 2.12 Translate animal species (chordata) names from one language to (m)any other language(s) 2013-11-14 Uses Wikipedia.
Optional automatic on-the-fly update feature.
Click the floppy disk icon to download the ZIPped source   CalDemo.hta 1.01 Demonstration of Microsoft's Calendar HTML Component 2007-02-09 Automatically checks for updates and availability of control component.
Click the floppy disk icon to download the ZIPped source   GetDate.hta 0.13 Calculate dates like "what date will Wednesday week 23 be in 2017?", or "what day of the week is the 30th of next month?" 2010-11-05  
Click the floppy disk icon to download the ZIPped source   Hardware.hta 6.05 Display basic as well as detailed hardware summaries 2015-05-06  
Click the floppy disk icon to download the ZIPped source   Holidays.hta 3.12 Calculate the dates for future and past holidays 2013-05-24 Also available as on-line PHP version
Optional automatic on-the-fly update feature.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source PromptDemo.hta 1.00 Demonstration of Prompt, Confirm and Alert dialogs in HTAs 2013-10-15  
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source Random.wsc 1.00 This WSC uses random.org to retrieve true random integers 2007-08-15 Requires WinHTTP 5.1. 
Click the floppy disk icon to download the ZIPped source   Romans.hta 2.00 Convert Roman numerals to decimal vv. 2013-11-12 Also available as on-line JavaScript version
Click the floppy disk icon to download the ZIPped source   Software.hta 3.02 List installed software 2013-12-17  
Click the floppy disk icon to download the ZIPped source   UpdateCheck.hta 1.40 Check if a newer version of the specified program is available, and if so offer to download it 2014-12-18 Requires UpdateCheck.ini and WinHTTP 5.1.
Adds a GUI to UpdateCheck.vbs; the HTA and VBScript versions share the same INI file.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source WhiteBackground.hta 1.00 Create a temporary white desktop background, e.g. to allow cleaner screen captures 2015-08-10 Right-click or press the ESC key to abort the HTA.
Click the floppy disk icon to download the ZIPped source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPped source WhoIs.wsc 1.01 WSC to query WHOIS for domain registration information 2007-06-14 See the Whois WSC section for more details.
Click the floppy disk icon to download the ZIPped source   WMIGen.hta 9.02 Generate Batch, C#, Delphi, F#, Java, JScript, KiXtart, Lua, Object Pascal, Object Rexx, Perl, PowerShell, Python, Ruby, VB .NET and VBScript code for WMI queries 2014-08-20 Based on the example from the Microsoft TechNet ScriptCenter article Scripting Eye for the GUI Guy, with help from the Scripting Guys' Scriptomatic 2.0 and HTA Helpomatic tools and The Script Center Script Repository: Sample Windows PowerShell Scripts.
C# code generation with assistance of Bas van der Woude.

 

Note: Unless stated otherwise, all HTAs automatically check for updates at startup.

 

 


page last uploaded: 2015-08-24, 21:10