FIGURE 17.11
Viewing the numeric equivalents of named constants in the OlObjectClassOutlook enum in the
Object Browser.
Useful Scripts ....................................................................................................................
You can use WSH scripts for a number of different purposes, which are described in the following
sections.
Setup Scripts ..........................................................................................................
The CopyTemplateUser.vbs script copies a template called Test.dot from the current folder (the
folder where the script file is located) to the default User Templates folder; the
CopyTemplateWorkgroup.vbs script copies Test.dot from the current folder to the Workgroup
Templates folder (if one has been selected). Each one puts up informative message boxes as the code
runs. (The MsgBoxlines can be commented out after verifying that the script works correctly.)
Creating Standalone Scripts with Windows Script Host 17