HTA & WSC Examples

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

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

 

HTA & WSC examples
Click the floppy disk icons to dowload the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources Name Version Description Last modified
(yyyy-mm-dd)
Remarks
Click the floppy disk icon to dowload the ZIPed 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' new book VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration.
Click the floppy disk icon to dowload the ZIPed source   BirdName.hta 1.01 Translate a bird name from one language to (m)any other language(s) 2012-03-12 Uses Wikipedia.
Optional automatic on-the-fly update feature.
Click the floppy disk icon to dowload the ZIPed 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 dowload the ZIPed 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 dowload the ZIPed source   Hardware.hta 5.49 Display basic as well as detailed hardware summaries 2012-01-13  
Click the floppy disk icon to dowload the ZIPed source   Holidays.hta 3.02 Calculate the dates for future and past holidays 2011-12-27 Also available as on-line PHP version
Optional automatic on-the-fly update feature.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed 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 dowload the ZIPed source   Romans.hta 1.01 Convert Roman numerals to decimal vv. 2010-08-20 Also available as on-line PHP version
Click the floppy disk icon to dowload the ZIPed source   Software.hta 2.10 List installed software 2007-01-17  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed 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 dowload the ZIPed source   WMIGen.hta 7.03 Generate Batch, C#, F#, Java, JScript, KiXtart, Object Rexx, Perl, PowerShell, Python, Ruby, VB .NET and VBScript code for WMI queries 2011-08-16 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 on startup.

 

 


page last uploaded: 19 December 2011, 23:35