Skip to Main Content
Insider Power Techniques for Microsoft® Windows® XP
book

Insider Power Techniques for Microsoft® Windows® XP

by Paul McFedries, Geoff Winslow, Scott Andersen, Austin Wilson
February 2003
Intermediate to advanced content levelIntermediate to advanced
412 pages
10h 6m
English
Microsoft Press
Content preview from Insider Power Techniques for Microsoft® Windows® XP

Scripting Example: Programming Internet Explorer

To give you a taste of the power and flexibility of Automation programming, this section shows you how to program a specific Automation server: Internet Explorer. You’ll see that your scripts can control just about everything associated with Internet Explorer:

  • The position and dimensions of the window.

  • Whether or not the menu bar, toolbar, and status bar are displayed.

  • The current URL.

  • Sending the browser backward and forward between navigated URLs.

Displaying a Web Page

To get started, we’ll show you how to use the InternetExplorer object to display a specified URL. You use the Navigate method to do this, and this method uses the following syntax:

InternetExplorer.Navigate URL, [Flags,] [TargetFrameName ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Fixing Windows XP Annoyances

Fixing Windows XP Annoyances

David A. Karp

Publisher Resources

ISBN: 0735618968Catalog PageErrata