Of course, WSH and its associated
scripting engines are more complex than any previous interpreter. The Internet includes many
useful WSH resource sites. Of the more interesting sites is the Scripting Guide for Windows site
at http://www.pctools.com/guides/scripting/. You can find books about WSH at
http://ourworld.compuserve.com/homepages/Guenter_Born/WSHBazaar/USBook.htm.
You??™ll find quite a few other resource sites throughout the sections. Make sure you check them
out to get the most out of the material presented in this chapter.
Working with the WScript Object
The WScript object is the main object for WSH. You??™ll access every other object through this one.
The following list tells you about the properties that the WScript object supports.
Application Provides you with access to a low level interface for WScript. An interface is a
pointer to a list of functions that you can call for a particular object. Only advanced programmers
need this property because WSH exposes all of the basic functions for you.
Arguments Provides a complete list of the arguments for this script. Applications pass arguments
on the command line. WSH passes the argument list as an array.
Pages:
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457