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

Chapter 8. Mixing Extension Types > API Functions for Mixing Extension Types

API Functions for Mixing Extension Types

The Dreamweaver API offers methods for invoking the functionality of almost all extension types from within other extensions. Take a look at these in the following sections, based on extension type.

Running Commands

Commands are the most flexible of the extension types, giving you access to every aspect of the user’s document. Did you ever want to execute the code in a command file without the user having to choose the command from a menu? The API function that allows you to do this is dw.runCommand(). Table 8.1 lists the specifications for this function, and shows some examples of its use.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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