• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The Mother of All Menus

All of the menus found in Dreamweaver—including the main menu, all the panel menus, and the context menus—are controlled by a single XML file. Found in the Dreamweaver MX 2004\Configuration\Menus folder, the menus.xml file is truly a mother lode of information and power. Want to know how Dreamweaver really executes a command? Check out the command’s menu entry in menus.xml to see the file used or actual code executed. You can open and examine the file in Dreamweaver. But—paste enormous warning sticker here—if you plan on modifying it, be sure to open the version found in the Dreamweaver MX 2004 user’s folder. You should also be sure to make a backup just in case of trouble; and if you really get in trouble, there is a Macromedia-created backup in the same folder called menus.bak that will get you back on the right footing. After you’ve opened the file, you’ll notice that all the shortcut definitions are at the top of the file. In my experience, these are best modified using the Keyboard Shortcut Editor found under the Edit menu. The fastest way I’ve found to get to the main menu definitions is to search for “Main Window” (with or without the quotation marks) using the Dreamweaver Find and Replace feature. Happy menu spelunking!


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint