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

Chapter 5. Creating Custom Commands and ... > How Commands Are Constructed

How Commands Are Constructed

The basic API for regular commands is remarkably simple and flexible. Unlike the API for objects or behaviors, there are few required elements and few required procedural steps. We also have more control over the appearance of dialog boxes in commands than in other extension types, including the ability to specify what buttons will appear (OK, Cancel, and so on) and exactly what functionality each will have.

Commands in the Configuration Folder

Command files are stored in the Configuration/Commands folder. There are no subfolders within the Commands folder. By default, each file in the Commands folder appears in the Dreamweaver Commands menu, although special coding can be added to any file in the folder to prevent it appearing there. Figure 5.3 shows a typical Commands folder.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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