Dreamweaver

Create and use commands from history steps

Save a set of history steps as a named command, which then becomes available in the Commands menu. Create and save a new command if you might use a set of steps again, especially the next time you start Dreamweaver.

Create a command

  1. Select a step or set of steps in the History panel.
  2. Click the Save As Command button, or select Save As Command from the History panel’s context menu.
  3. Enter a name for the command and click OK.

    The command appears in the Commands menu.

    Note: The command is saved as a JavaScript file (or sometimes an HTML file) in your Dreamweaver/Configuration/Commands folder. If you are using Dreamweaver on a multiuser operating system, the file is saved in the specific user’s Commands folder.

Use a saved command

  1. Select an object to apply the command to, or place the insertion point where you want to apply the command.
  2. Select the command from the Commands menu.

Edit a command name

  1. Select Commands > Edit Command List.
  2. Select a command to rename, enter a new name for it, and then click Close.

Delete a name from the Commands menu

  1. Select Commands > Edit Command List.
  2. Select a command.
  3. Click Delete, and then click Close.