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

Chapter 36. Creating Extensions > Creating Command Extensions

Creating Command Extensions

Commands are those extensions that appear as entries in the Commands menu. (Actually, if you manipulate the menus.xml file as discussed in the Chapter 34, “Customizing Dreamweaver,” you can make commands appear in any menu. But they appear in the Commands menu by default.) They are the most versatile and powerful of the extension types, enabling you to perform almost any edits on a document or site. Their API requirements are simple; yet, because they are so flexible, they are not easy to master. This section covers what’s involved in creating simple (and also not-so-simple) Dreamweaver commands.

Commands in the Configuration Folder

Like all extensions, commands are made from HTML and JavaScript. Each command consists of an HTML file (the command file itself) and optional, associated JS files and/or graphics. Command files are stored in the Configuration/Commands folder. By default, all files in this folder will appear in the Commands menu.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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