Chapter 22
518
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.
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.
To create new commands that are automatically placed in the Commands
menu, use the History panel (see “Creating new commands from history steps” on
page 165). You can also use the Package Manager to install new extensions,
including commands; see “Adding extensions to Dreamweaver” on page 93.
To reorder the items in the Commands menu, or to move items between menus,
you must edit the menus.xml file.
To rename a command you’ve created:
1
Choose Commands > Edit Command List.
A dialog box appears, listing all of the commands whose names you can change.
(Commands that are in the default Commands menu don’t appear on this list
and can’t be edited using this approach.)
2
Select a command to rename.
3
Enter a new name for it.
4
Click Close.
The command is renamed in the Commands menu.
To delete a command you’ve created:
1
Choose Commands > Edit Command List.
A dialog box appears listing all of the commands you can delete. (Commands
that are in the default Commands menu don’t appear on this list and can’t be
deleted using this approach.)
2
Select a command to delete.
3
Click Delete, then confirm that you want to delete the command.
The command is deleted. Note that the file containing the code for the
command is also deleted; deleting a command does not simply remove the
menu item from the menu. Be certain that you really want to delete the
command before you use this approach. If you want to remove it from the
Commands menu without deleting the file, you can find the file in
Configuration/Commands and move it to another folder.
4
Click Close.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...