Microsoft Windows Script Host 2.0 Developer's Guide (Microsoft Programming Series)
Gunter Born, Microsoft Press ISBN:0735609314, Edition: , 2000-09-16 Price: $49.99
Contents
-
Cover
-
Dedication
-
Acknowledgments
-
Introduction
-
Who This Book Is For
-
The Scope of This Book
-
Sample Files and Other Tools
-
Further Reading
-
System Requirements
-
Additional Information
-
Part I: Introduction to the World of Script Programming
-
Chapter 1 -- Introduction to Windows Script Host
-
What You Can Do with WSH Scripts
-
Upgrading to WSH 2
-
Creating and Using Scripts
-
Chapter 2 -- Development Tools and Techniques
-
Creating Scripts
-
Editing Scripts
-
Installing and Uninstalling ActiveX Controls
-
Debugging Scripts
-
Chapter 3 -- Introduction to Programming with Objects
-
Objects
-
Available Objects
-
Chapter 4 -- Introduction to VBScript
-
Basic Features
-
Advanced Features
-
Chapter 5 -- Introduction to JScript
-
What Is JScript?
-
The Structure of a JScript Program
-
Operators
-
Control Structures
-
Functions and Objects
-
Part II: Interactive Scripting
-
Chapter 6 -- Creating Simple Dialog Boxes in WSH
-
Using the Echo Method
-
Using the MsgBox Function in VBScript
-
Using the Popup Method
-
Chapter 7 -- Working with WSH Objects
-
Using the WScript Object
-
Accessing Environment Variables
-
Creating and Releasing Objects
-
Launching Other Programs from a Script
-
Chapter 8 -- Retrieving User Input in WSH Scripts
-
Invoking an Input Dialog Box in VBScript
-
Invoking an Input Dialog Box in JScript
-
Chapter 9 -- Working with Forms
-
Using Internet Explorer to Create an About Dialog Box
-
Using Internet Explorer and WSH to Create a Form
-
Part III: Power Scripting
-
Chapter 10 -- Creating Shortcuts
-
Shortcut Basics
-
Shortcuts: Beyond the Basics
-
Chapter 11 -- Using Advanced WSH Features
-
Retrieving the User, Domain, or Computer Name
-
Connecting to a Network Printer
-
Mapping Network Drives
-
Accessing the Windows Registry
-
Chapter 12 -- Using File System and I/O Commands
-
The FileSystemObject Object Model
-
Accessing Drives
-
Accessing Files and Folders
-
Accessing Text Files
-
Using the Browse For Folder Dialog Box
-
Chapter 13 -- Controlling Windows and Applications from Scripts
-
Delaying Script Execution
-
Activating an Application Using the AppActivate Method
-
Using the SendKeys Method to Simulate Keystrokes
-
Customizing Windows Using Logon Scripts
-
Chapter 14 -- Programming Techniques and Tips
-
Run-Time Errors
-
Paths and Dates
-
Long Filenames, the At Command, and System Calls
-
User Dialog Boxes and Output
-
File Handling
-
Playing Sound
-
The Windows Shell
-
Calling a DUN Connection
-
Part IV: Appendixes
-
Appendix A -- WSH Resources on the Internet
-
Appendix B -- Script Security
-
Partially Disabling WSH
-
Preventing Automatic Execution of WSH Scripts
-
Security Settings for WSH Scripts
-
Concluding Remarks
-
About the Author
-
About This Electronic Book
-
About Microsoft Press
|
|