Skip to main content

Scripting and Automating Internet Explorer

  • Chapter
Pro Internet Explorer 8 & 9 Development
  • 356 Accesses

Abstract

The flexibility of IE’s command line, COM automation system, and rich API set helps developers, system administrators, and enthusiasts to perform common tasks with batch files and simple scripts. Such scripts can be used to streamline installs across a business, customize the browser, and simplify common management tasks.

In this chapter I provided an overview of techniques used to manage and operate IE through the shell and simple script. I began with an introduction to the command line and the features it provides, followed by a short foray into the little-known but very useful invocation model offered by RunDLL32. Scripting was next, and it was there that I described how you can access a simple-to-understand object model exposed by IE, WSH, PowerShell, and any other language that supports COM automation. I closed by providing a few examples of different tasks the IE object allows you to perform, and other systems, such as WMI, that play nicely with it. If you haven’t already, I hope this overview inspires you to look into scripting as a powerful and everyday development tool.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Matthew Crowley

About this chapter

Cite this chapter

Crowley, M. (2010). Scripting and Automating Internet Explorer. In: Pro Internet Explorer 8 & 9 Development. Apress. https://doi.org/10.1007/978-1-4302-2854-7_15

Download citation

Publish with us

Policies and ethics