Chapter 3. Programming Windows XP with Scripts

In this chapter, you’ll learn how to:

  • Create and execute scripts.

  • Program objects and use their properties and methods.

  • Display text to the user.

  • Run applications.

  • Read, add, and delete registry keys and values.

  • Control Internet Explorer via scripting.

Microsoft Windows XP comes with the welcome ability to run scripts that can deal with many aspects of the system, including drives, folders, files, and the registry; scripts can also interact with Windows programs via Automation. Scripts enable you to automate many routine tasks that would otherwise require tedious effort on your part. For example, you can enhance your system privacy by creating a script to automatically delete the items in your Recent Documents ...

Get Insider Power Techniques for Microsoft® Windows® XP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.