Sub topic 6
Inserting Stops, Menu Items and Paths
This chapter assumes you can record and play a basic Photoshop action and understand layers, selections, and file paths. You will make an action pause for a decision, include a command that is difficult to record directly, and reuse a saved path.
Why insert commands?
A recorded action captures many menu commands and tool operations. Some steps need more control:
- An insert stop pauses playback and displays instructions.
- Insert Menu Item adds a Photoshop command to the action without recording the operation manually.
- Insert Path adds a saved vector path to the document.
These features make an action more useful when the input files are not identical. They also help when Photoshop does not record an operation in the way you need.
Insert Stop
An insert stop pauses an action at a chosen point. The stop can display a message, and the user can continue by selecting Continue. You can also allow the user to stop the action.
For example, suppose an action prepares a product image but cannot know where the product is positioned in every file. Add a stop after the automatic preparation:
- Select the action step where the pause should occur.
- Open the Actions panel menu.
- Choose Insert Stop.
- Enter a short instruction, such as
Adjust the selection around the product, then click Continue. - Enable the option that allows the action to continue.
- Confirm the stop and test the action.
Keep the message specific. Tell the user what to change and what state Photoshop should have when playback resumes.
Insert Menu Item
Insert Menu Item records a menu command directly into an action. This is useful when a command has no convenient recording gesture or when you want to select the exact menu entry.
To insert one:
- Select the location in the action where the command belongs.
- Choose Insert Menu Item from the Actions panel menu.
- Select the required Photoshop menu command.
- Confirm the selection.
Photoshop stores the command by its menu name. During playback, it invokes that command in the current document state. The command may still open a dialog, require a selection, or fail if the document does not meet its requirements.
Use a menu item when the action must always call a particular command. Use a stop instead when a person must make a judgment.
Insert Path
A path is a vector outline made from points and curves. An action can insert a saved path so later steps can reuse a precise shape.
Create and save the path before inserting it:
- Draw the path with the Pen tool or another path-creating tool.
- Open the Paths panel and rename the path.
- Select the correct position in the action.
- Choose Insert Path from the Actions panel menu.
- Select the saved path and confirm.
The inserted path belongs to the document where the action runs. Its position is not automatically adapted to a different canvas size. A path designed for a 2000-by-2000-pixel image may be misplaced on a portrait document.
Choosing the right insertion
| Need | Best choice | Main risk |
|---|---|---|
| Ask for a human decision | Insert Stop | The batch waits for input |
| Call an exact Photoshop command | Insert Menu Item | The command may need compatible document state |
| Reuse a fixed vector outline | Insert Path | The path may not fit another image |
A reliable sequence
Use insertion points to separate automatic and manual work:
Test the action on a copy. Confirm that the stop appears at the intended point, the menu command uses the correct document state, and the path remains aligned.
Exercise
You need an action to pause so a user can refine a selection, then run Select > Modify > Contract, and finally load a saved outline. Which inserted features should you use?
Show answer
Add an Insert Stop for the selection, an Insert Menu Item for Select > Modify > Contract, and an Insert Path for the saved outline.