Windows® Script Host (WSH) is a powerful flexible tool for automating recurring PC tasks. MICROSOFT® WINDOWS SCRIPT HOST 2.0 DEVELOPER'S GUIDE is a complete guide to using WSH to unlock the power and performance of your PC through automation. It's packed with details about all major features of WSH plus related topics such as how to extend WSH features with custom ActiveX® components and how to access other Automation objects. It also provides in-depth information on how to use WSH with two popular scripting languages: Microsoft Visual Basic® Scripting Edition (VBScript) and Microsoft JScript®. This book is ideal for anyone who works with automation scripts from the programming novice who wants to learn the basics to the adept scripter who creates scripts in Perl Python TCL or other scripting languages. Learn how you can do all this and more with a single mouse click or keystroke sequence:
• Back up or restore files shut down or restart Windows and perform other shutdown and startup routines.
• Launch a Microsoft Office application; load process and print a document; and close the application.
• Directly access the Windows shell and Windows application programming interface (API) to create shortcuts map drives or printers and control applications.
• Read environment variables or retrieve information about Windows and display dialog boxes to learn about an application's status or to retrieve user input.
Why use MS-DOS® batch files macro recorders or costly difficult third-party Automation tools when you can use the most powerful intuitive free automation tool for Windows? Windows Script Host 2.0 lets you create and execute scripts to tailor your Windows system for your own needs simply and with complete programmatic control.
An electronic version of this book is available on the companion CD.