Applying steps to multiple objects

Applying steps to multiple objects

If you select multiple objects in a document and then apply steps to them from the History panel, the objects are treated as a single selection and Dreamweaver attempts to apply the steps to that combined selection.

For example, you can’t select five images and apply the same size change to each of them all at once; a size change is an operation that must be applied to each individual image, not to a collective combination of images.

To apply a series of steps to each object in a set of objects, you must make the last step in the series select the next object in the set. The following procedure demonstrates this principle in a particular scenario: setting the vertical and horizontal spacing of a series of images.

To set the vertical and horizontal spacing of a series of images:

  1. Start with a document in which each line consists of a small image (such as a graphical bullet or an icon) followed by text. The goal is to set the images off from the text and from the other images above and below them.

    This is a picture of the feature being described.

  2. Open the Property inspector (Window > Properties), if it isn’t already open.
  3. Select the first image.
  4. In the Property inspector, enter numbers in the V Space and H Space text boxes to set the image’s spacing.
  5. Click the image again to make the Document window active without moving the insertion point.
  6. Press the Left Arrow key to move the insertion point to the left of the image. Then press the Down Arrow key to move the insertion point down one line, leaving it just to the left of the second image in the series. Then press Shift+Right Arrow to select that second image.
  7. In the History panel, select the steps that correspond to changing the image’s spacing and selecting the next image. Click the Replay button to replay those steps.

    This is a picture of the feature being described.

    The current image’s spacing changes, and the next image is selected.

    This is a picture of the feature being described.

  8. Continue to click Replay until all the images are spaced correctly.

To apply steps to an object in another document, use the Copy Steps button. (See Copying and pasting steps between documents.)



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly