SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 731 | Next

David A. Karp

"Windows Vista Annoyances: Tips, Secrets, and Hacks"

Lastly, the
Navigate property specifies the URL to load; in this case, specify "About:
Blank" to show a blank page.
Once the IEObject.Visible=1 command is issued, the window appears, and
the real fun begins. (OK, perhaps ???fun??? is too strong of a word.) The following
lines send HTML code to the active IE window, and form a simple web
page:
IEObject.Document.Write ""
IEObject.Document.Write "

Hello World

"
IEObject.Document.Write "

"
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

hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6