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' 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 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 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 6.01 Display basic as well as detailed hardware summaries 2014-01-16  
Click the floppy disk icon to dowload the ZIPed 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 dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source PromptDemo.hta 1.00 Demonstration of Prompt, Confirm and Alert dialogs in HTAs 2013-10-15  
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 2.00 Convert Roman numerals to decimal vv. 2013-11-12 Also available as on-line JavaScript version
Click the floppy disk icon to dowload the ZIPed source   Software.hta 3.02 List installed software 2013-12-17  
Click the floppy disk icon to dowload the ZIPed source   UpdateCheck.hta 1.22 Check if a newer version of the specified program is available, and if so offer to download it 2014-07-19 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 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 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: 18 May 2014, 22:43
Fileaze