MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Spécifications Page 195

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 504
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 194
Menu commands 195
The following table lists the files you use to create a Menu command.
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 “Changing
menus and menu commands” on page 191.
To create new commands that are automatically placed in the Commands menu, use the
History panel. Alternatively, you can use the Extension Manager to install new extensions,
including commands. For more information, see Dreamweaver Help.
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. Select Commands > Edit Command List.
A dialog box appears, listing all the commands whose names you can change. (Commands
that are in the default Commands menu dont appear on this list and cant be edited using
this approach.)
2. Select a command to rename.
3. Enter a new name for it.
4. Click Close.
Path File Description
Configuration/Menus/ menus.xml Contains a structured list of menu
bars, menus, menu commands,
separators, shortcut lists, and
keyboard shortcuts. Modify this file to
add new menus and menu commands.
Configuration/Menus/ commandname.htm Contains the functions required by the
menu command.
NOTE
If you add custom menu commands to Dreamweaver, add them at the top level of the
Menus folder or create a subfolder. The Macromedia folder MM is reserved for the menu
commands that come with Dreamweaver.
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.
Vue de la page 194
1 2 ... 190 191 192 193 194 195 196 197 198 199 200 ... 503 504

Commentaires sur ces manuels

Pas de commentaire