Dreamweaver Extensions

While keyboard shortcuts give you an easy way to access frequently used commands, they’re not much help if the command you want doesn’t exist. Suppose, for example, you use Dreamweaver’s Open Browser Window behavior (Squish) to load a new web page into a window that measures exactly 200 x 300 pixels. What if you want to center the window in the middle of your visitor’s monitor? Dreamweaver’s behavior doesn’t do that. What’s a web designer to do? You could go to the Adobe site and request the new feature (http://tinyurl.com/jbmlm) in hopes that the bustling team of programmers will add it to the next version of the program. But you’d have to wait—and there’s no guarantee that Adobe would add it.

Instead, legions of hard-core Dreamweaver fans have taken this wish-list feature into their own hands. As it turns out, amateur (and pro) programmers can enhance Dreamweaver relatively easily by writing new feature modules using the basic languages of the Web: HTML, JavaScript, and XML. (In fact, HTML forms, JavaScript programs, and XML documents constitute much of Dreamweaver’s code. The objects in the Insert panel, for example, are actually HTML pages stored within Dreamweaver’s Configuration folder, and Adobe wrote all of Dreamweaver’s menus as an XML file.)

Because of this “open architecture,” you can add new functions and commands—called extensions—to Dreamweaver by downloading the work of one of those programmers and installing it in your own copy of the program. ...

Get Dreamweaver CS6: The Missing Manual 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.