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

Chapter 25. Interface Extensions > Extending Commands

Extending Commands

You can use commands for a variety of purposes. You can use them to add HTML code to the page, edit existing HTML code, open files stored on the hard disk, and perform site manipulations that make them very powerful extensions. Commands can also be called by other extensions. Commands are stored in the Commands folder inside the Configuration folder.

You can implement command extensions just as you implement object extensions. To implement a command extension, use a combination of an HTML file and a JavaScript file or just an HTML file that contains the required script functions to execute the command. A command can be based on user input, or it might not require user input, but instead something like a selection in a document. An example of a command that requires user input is the Create Web Photo Album command, which displays a dialog box for accepting information from the user. If you create a command to justify text onscreen, the command does not require any user input, but it does require a selection, which means that the user needs to select the text onscreen before justifying it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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