"
IEObject.Document.Write "Aren't we sick of that phrase yet?"
IEObject.Document.Write ""
This has nearly limitless possibilities, not the least of which is a more elegant
way to display information than the MsgBox command, a much more
sophisticated way of gathering information than the InputBox command
(using fill-out forms), and a way to display an ongoing log of a script??™s activities
without interrupting script flow. To clear the page at any time, simply
issue another IEObject.Navigate "About:Blank" command.
Note that the IE window stays open after the script completes; use the
IEObject.Quit command to close the window during script execution.
How to Use Command-Line Parameters
A command-line parameter is a bit of text specified after the filename of a
script when it is executed from a Command Prompt (see the following
examples). This function converts a single command-line parameter into a
variable:
Function CommandLine(Number)
Set Arguments = WScript.Arguments
If Number <= Arguments.
Pages:
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743