Operation Manual
255
USING DREAMWEAVER
Adding content to pages
Last updated 3/28/2012
The current image’s spacing changes, and the next image is selected.
10 Continue to click Replay until all the images are spaced correctly.
Copy and paste steps between documents
Each open document has its own history of steps. You can copy steps from one document and paste them into another.
Closing a document clears its history. If you know you will want to use steps from a document later, copy or save the
steps before you close the document.
1 In the document containing the steps you want to reuse, select the steps in the History panel.
2 Click Copy Steps in the History panel .
Note: The Copy Steps button in the History panel is different from the Copy command in the Edit menu. You can’t use
Edit
> Copy to copy steps, although you do use Edit > Paste to paste them.
Be careful when you copy steps that include a Copy or a Paste command:
• Don’t use Copy Steps if one of the steps is a Copy command; you may not be able to paste such steps the way you want.
• If your steps include a Paste command, you can’t paste those steps, unless the steps also include a Copy command
before the Paste command.
3 Open the other document.
4 Place the insertion point where you want it, or select an object to apply the steps to.
5 Select Edit > Paste.
The steps are played back as they’re pasted into the document’s History panel. The History panel shows them as only
one step, called Paste Steps.
If you pasted steps into a text editor or into Code view or the Code inspector, they appear as JavaScript code. This can
be useful for learning to write your own scripts.
More Help topics
“Writing and editing code” on page 287
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.