Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서
Changing menus and menu commands
191
Container
This tag must be contained in a
tool
tag.
Example
<override name="Quick switch to Hand tool" key="Space"
id="DWTools_Hand_Override" />
Changing menus and menu commands
By editing the menus.xml file, you can move menu commands within a menu or from one
menu to another, add separators to or remove them from menus, and move menus within a
menu bar or even from one menu bar to another.
menu to another, add separators to or remove them from menus, and move menus within a
menu bar or even from one menu bar to another.
You can move items into or out of context menus using the same procedure as for other
menus.
menus.
For information, see
To move a menu command:
1.
Quit Dreamweaver.
2.
Make a backup copy of the menus.xml file.
3.
Open menus.xml in a text editor such as BBEdit, HomeSite, or Wordpad. (Don’t open it
in Dreamweaver.)
in Dreamweaver.)
4.
Cut an entire
menuitem
tag, from the
<menuitem
at the beginning to the
/>
at the end.
5.
Place the insertion point at the new location for the menu command. (Make sure it’s
between a
between a
menu
tag and the corresponding
/menu
tag.)
6.
Paste the menu command into its new location.
To create a submenu while moving a menu command:
1.
Place the insertion point inside a menu (somewhere between a
menu
tag and the
corresponding
/menu
tag).
2.
Insert a new
menu
tag and
/menu
tag pair inside the menu.
3.
Add new menu commands to the new submenu.
To insert a separator between two menu commands:
■
Place a
separator/
tag between the two
menuitem
tags.
To remove an existing separator:
■
Delete the corresponding
separator/
line.