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

Chapter 29. Creating Your Own Extensions > Creating Command Extensions

Creating Command Extensions

Commands are extensions that appear as entries on the Commands menu. (Actually, if you manipulate the menus.xml file, as discussed in the previous chapter, you can make commands appear on any menu. But they appear on the Commands menu by default.) They are the most versatile and powerful of the extension types, allowing you to perform almost any edits on a document or site. Their API requirements are simple, but 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 appear on the Commands menu.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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