Looking Ahead
The automation object model makes it easy to edit text. And because source code is just text, the automation object model makes it easy to edit source code, right? Well, yes and no. Editing source code as if it were just a large array of characters works well enough for many problems, and you can use the objects and events in this chapter to solve those, but as programmers we know there's plenty of structure to be found in that array of characters if we look at it from a higher level. In the next chapter, we'll show you the higher-level view provided by the automation object model: the code model.