Recording an Action
When you create an action, the commands you select are recorded. When you finish creating the action, the commands appear in the Actions palette indented under the action’s name.Open an image or create a new image.You use this image to select the steps you want recorded. If you’re not sure about all the steps you want to record, you can always create a duplicate of the image by choosing Image>Duplicate, and then practice on the duplicate image.
If the Actions palette is not displayed in Command mode, open the Actions palette menu and deselect Button mode.
Click the Create New Action button at the bottom of the Actions palette.In the New Action dialog box, shown in Figure 8-4, enter a name for the action and assign a keyboard shortcut for the action, if you want to. You can also select a color for the action so that it appears in your chosen color in the Actions palette.

Figure 8-4: Use the New Action dialog box to name the action and assign a keyboard shortcut and color for the action.
Click Record to close the New Action dialog box and start recording.
Select the commands that you want to record, applying them as you normally would.If you enter values in text boxes, they are recorded. If you cancel out of a dialog box, the canceled item is not recorded. You cannot use several tools when recording an action. Check out the sidebar “What can I record?” to find out which ones they are.
When you finish applying commands, click the Stop button on the Actions palette or press the Esc key.The recording stops and your custom action appears in the Actions palette. If you look at your action, all the commands that you recorded are listed under the action’s name.