
Customizing Macromedia Dreamweaver MX 9
For example, the following line (from the Macintosh file) indicates that files with a .html filename
extension should be transferred in ASCII mode:
HTML DmWr TEXT ASCII
In both files, all elements on a given line are separated by tabs. The extension and the transfer
mode are in uppercase letters.
To change a default setting, edit the file in a text editor.
To add information about a new filename extension:
1 Edit the extension-map file in a text editor.
2 On a blank line, enter the filename extension (in uppercase) and press Tab.
3 On the Macintosh, add the creator code, a tab, the file type, and another tab.
4 Enter ASCII or BINARY to set an FTP transfer mode.
5 Save the file.
About customizing Dreamweaver menus
Dreamweaver creates all of its menus from the structure defined in an XML file called menus.xml,
in the Configuration/Menus subfolder of the Dreamweaver application folder. Editing the
menus.xml file changes the Dreamweaver menus the next time you start Dreamweaver. For basic
information about XML, see Dreamweaver Help.
By editing the menus.xml file, you can add, change, and remove keyboard shortcuts for menu
items, though in most cases it’s easier to do that using the Keyboard Shortcut Editor. (See
Dreamweaver Help.) You can also rearrange, rename, and remove menu items.
In a multiuser operating system, when you make changes within Dreamweaver that result in
changes to menus.xml (such as changing keyboard shortcuts using the Keyboard Shortcut
Editor), Dreamweaver creates a new menus.xml file in your user configuration folder. To
customize menus.xml in a multiuser operating system, edit the copy of the file in your user
configuration folder (or copy the master menus.xml file to your user configuration folder if
Dreamweaver hasn’t yet created a version there). For more information, see “About customizing
Dreamweaver in a multiuser environment” on page 2.
If you open menus.xml in an XML editor, you may see error messages regarding the ampersands
(&) in the menus.xml file. It’s best to edit menus.xml in an ordinary text editor. (Don’t edit it
in Dreamweaver.)
Note: Always make a backup copy of the current menus.xml file, or any other Dreamweaver configuration file, before
you modify it. It’s easy to make mistakes in editing the menu configuration file, and there’s no way to revert to a
previous set of menus other than replacing the menus.xml file. In case you forget to make a backup, though, the
Configuration folder contains a backup of the default menus.xml file, called menus.bak; to revert to the default menu
set, replace menus.xml with a copy of menus.bak.
Modifying the Commands menu
You can add certain kinds of commands to the Commands menu, and change their names,
without editing the menus.xml file. For more information about menus.xml, see “About
customizing Dreamweaver menus” on page 9.
Note: The term “command” has two meanings in Dreamweaver. Strictly speaking, a command is a particular kind of
extension. In some contexts, however, “command” is used interchangeably with “menu item” to mean any item that
appears in a Dreamweaver menu, no matter what it does or how it’s implemented.
Comentários a estes Manuais