O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

19.3. Scripting Programs Through Their COM Interfaces

The primary use of COM that we will look at in this chapter is the ability to use it to automate other programs. COM has long been software developers' tool of choice to provide automation interfaces to advanced users, administrators, and other programs. A software product will typically expose its application services as COM objects that can be used from any language. The best example of that are the Microsoft Office tools; all programs in the suite expose their application objects, their documents, and other services as COM objects. We can use those objects to create and manipulate documents and all sorts of data objects.

19.3.1. Automating Microsoft Word

We will be using the application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required