GENERATED: JUL 10,2017 - 11:57PM
CHT Windows Script Host Demo [V10.17.05.0185]

Previous Page
This application illustrates how to use a CHT template called HandyCOMWindowsScriptHostControl. It incorporates a COM class wrapper for the MS Windows Script Host Object located in WSHOM.OCX.

Windows Script Host provides a wide variety of low-level operating system configuration functions normally enabled in WScript, JScript and VBScript. Microsoft describes Windows Script Host as follows: "Windows Script Host (WSH), a feature of the Microsoft Window 2000/XP family of operating systems, is a powerful multi-language scripting environment ideal for automating system administration tasks.

Scripts running in the WSH environment can leverage the power of WSH objects and other COM-based technologies that support Automation, such as Windows Management Instrumentation (WMI) and Active Directory Service Interfaces (ADSI), to manage the Windows subsystems that are central to many system administration tasks."

This template and its underlying wrapper class, HNDScriptHostClass based in modules HNDWSHOM.INC /HNDWSHOM.CLW /HNDWSHOM.TLB provide you the equivalent of running windows administration scripts from inside your Clarion application, using Clarion syntax rather than writing WScript, JScript or VBScript.

Any questions, feel free to ask:

Gus M. Creces
The Clarion Handy Tools Page (CHT Website) (CHT Forum)

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 CHT AACHTControlPanel - Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 CHT ApplicationImagesEx - Application Styling System
(0003) HNDCMPControlPanel(HNDTools) 1 CHT HNDCMPControlPanel - Interface to the CHT Compile Manager.
(0004) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(0005) INIFile(HNDTools) 1 CHT INIFile - .INI FIle and Registry extension classes - HNDIni - globally to your application.
(0006) VblFileNames(HNDTools) 1 CHT VblFileNames - Incorporate variable file names and defaults into your app from the dictionary.
(6) Global Templates Found

1 - Procedure Template Type: Menu
EntryPointMain ()
Count Local Template Name Qty Local Template Description
(0007) AppStartSplashProcedure(HNDTools) 1 CHT AppStartSplashProcedure - Application Splash screen earlier with an option for threaded/unthreaded.
(0008) EmbedWindowFunctions(HNDTools) 1 CHT EmbedWindowFunctions - An Instance Of:
(0009) HandyCOMWindowsScriptHostControl(HNDTools) 1 CHT HandyCOMWindowsScriptHostControl - CHT Wrapper For Windows Script Host Control.(4)
(0010) HandyHelpFileFetch(HNDTools) 2 CHT HandyHelpFileFetch - Build A Help File Request To Your Website.(8)
(0011) HandyHelpWhatsNew(HNDTools) 1 CHT HandyHelpWhatsNew - Build A What's New Request To Your Website.(6)
(0012) HandyWinCPDateTimePropsButton_WSHC(HNDTools) 1 CHT HandyWinCPDateTimePropsButton_WSHC - A button that opens Windows Control Panel Date/Time Properties dialog.
(0013) HandyWinCPDisplayPropsButton_WSHC(HNDTools) 1 CHT HandyWinCPDisplayPropsButton_WSHC - A button that opens Windows Control Panel Display Properties.
(0014) HandyWinCPInternetPropsButton_WSHC(HNDTools) 1 CHT HandyWinCPInternetPropsButton_WSHC - A button that opens Windows Control Panel Internet Properties dialog.
(0015) HandyWinCPSystemPropsButton_WSHC(HNDTools) 1 CHT HandyWinCPSystemPropsButton_WSHC - A button that opens Windows Control Panel System Properties.
(0016) HandyWindowImage(HNDTools) 1 CHT HandyWindowImage - Place a gradient-style image as a backdrop on the application window.
(0017) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(11) Local Templates Found In EntryPointMain

2 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0018) AppBuildDateTimeStamp(HNDTools) 1 CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0019) AppBuildNumberStamp(HNDTools) 1 CHT AppBuildNumberStamp - An application build number or version stamp.
(0020) AppCopyRightStamp(HNDTools) 1 CHT AppCopyRightStamp - An application copyright stamp.
(0021) HandyTellMeControl(HNDTools) 1 CHT HandyTellMeControl - Text box control to provide a message or help text.
(0022) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(5) Local Templates Found In JumpStartSplashCHTBlue

Copyright © 1996-2017 - CHT Version: [21C.00.00]
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDWINDOWSSCRIPTHOSTDEMO.APP