User Guide
Chapter 15
Scripting the Visual Tools
Object Model
Using the Macromedia Visual Tools Object Model (VTOM), developers can extend
their work in two broad categories:
• Power users can script recurring tasks.
• Application developers can call HomeSite+ for Dreamweaver MX functionality
for use in their applications.
This chapter describes how to write and execute scripts in HomeSite+ for
Dreamweaver MX. It also provides the syntax and examples of the objects in
HomeSite+ for Dreamweaver MX.
Contents
• Writing and executing scripts................................................................................. 224
• Application object ................................................................................................... 227
• ActiveDocument object .......................................................................................... 258
• DocumentCache object.......................................................................................... 269
• Project object........................................................................................................... 272
• ProjectManager object............................................................................................ 274
• DeploymentManager object .................................................................................. 280
• HTTPProvider object .............................................................................................. 288
• ZIPProvider object................................................................................................... 298
• ActiveScripting examples ....................................................................................... 304
• Third-party add-ins................................................................................................. 308
• Table of CommandID values.................................................................................. 310
• Table of SettingID values ........................................................................................ 314