Setting Up a Document > About automating tasks > Repeating steps |
To repeat the last step you performed, use the Edit > Repeat command, or use the keyboard shortcut Control+Y (Windows) or Command+Y (Macintosh). The name of this command changes in the Edit menu to reflect the last step you performed; for example, if you've just typed some text, the command name is Repeat Typing. (You can't use the Repeat command immediately after an Undo or Redo operation.)
To repeat steps other than the most recent one, or to repeat multiple steps at once, use the History panel. (For basic information about the History panel, see About the History panel.)
Note that when you replay steps, the steps that are played are the steps that are selected (highlighted), not necessarily the step currently pointed to by the slider.
To repeat one step:
In the History panel, select a step and click the Replay button. The step is replayed, and a copy of it appears in the History panel.
To repeat a series of adjacent steps:
1 | Select steps in the History panel by doing one of the following: |
Drag from one step to another. (Don't drag the slider; just drag from the text label of one step to the text label of another step.) | |
Select the first step, then Shift-click the last step; or select the last step and then Shift-click the first step. | |
Note: Although you can select a series of steps that includes a black mouse-movement indicator line, that mouse movement is skipped when you replay the steps. | |
2 | Click Replay. |
The steps are replayed in order, and a new step, labeled Replay Steps, appears in the History panel. | |
To repeat nonadjacent steps:
1 | Select a step, then Control-click (Windows) or Command-click (Macintosh) other steps. |
You can also Control-click or Command-click to deselect a selected step. | |
2 | Click Replay. |
The selected steps are replayed in order, and a new step, labeled Replay Steps, appears in the History panel. | |