• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part II: Commands, Inspectors, Floating ... > Creating Custom Commands and Menu Co...

Chapter 5. Creating Custom Commands and Menu Commands

Commands are the things we choose from menus. Unlike objects and behaviors, which are limited to performing the specific tasks of adding HTML and JavaScript code to user documents, commands can be used for almost any editing task—inserting code, removing code, editing code, even opening and closing documents, connecting to servers, and launching external applications.

The Dreamweaver Application Programming Interface (API) includes two kinds of commands: regular commands and menu commands. The difference between them is subtle and doesn’t involve the functionality of what they can do, but of how and where they appear in the Dreamweaver menu system. Regular commands appear in the Commands menu by default, although this default can be overridden by editing the menus.xml file. The menu items representing regular commands are static, meaning that the name and appearance of the menu item does not change based on document context or other conditions.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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