User Guide Cancel

Automation with actions

  1. Illustrator User Guide
  2. Get to know Illustrator
    1. Introduction to Illustrator
      1. What's new in Illustrator
      2. Common questions
      3. Illustrator system requirements
      4. Illustrator for Apple silicon
    2. Workspace
      1. Workspace basics
      2. Learn faster with the Illustrator Discover panel
      3. Create documents
      4. Toolbar
      5. Default keyboard shortcuts
      6. Customize keyboard shortcuts
      7. Introduction to artboards
      8. Manage artboards
      9. Customize the workspace
      10. Properties panel
      11. Set preferences
      12. Touch Workspace
      13. Microsoft Surface Dial support in Illustrator
      14. Undo edits and manage design history
      15. Rotate view
      16. Rulers, grids, and guides
      17. Accessibility in Illustrator
      18. Safe Mode
      19. View artwork
      20. Use the Touch Bar with Illustrator
      21. Files and templates
    3. Tools in Illustrator
      1. Tools at a glance
      2. Select tools
        1. Selection
        2. Direct Selection
        3. Group Selection
        4. Magic Wand
        5. Lasso
        6. Artboard
      3. Navigate tools
        1. Hand
        2. Rotate View
        3. Zoom
      4. Paint tools
        1. Gradient
        2. Mesh
        3. Shape Builder
      5. Text tools
        1. Type
        2. Type on a Path
        3. Vertical Type
      6. Draw tools
        1. Pen
        2. Add Anchor Point
        3. Delete Anchor Point
        4. Anchor Point
        5. Curvature
        6. Line Segment
        7. Rectangle
        8. Rounded Rectangle
        9. Ellipse
        10. Polygon
        11. Star
        12. Paintbrush
        13. Blob Brush
        14. Pencil
        15. Shaper
        16. Slice
      7. Modify tools
        1. Rotate
        2. Reflect
        3. Scale
        4. Shear
        5. Width
        6. Free Transform
        7. Eyedropper
        8. Blend
        9. Eraser
        10. Scissors
        11. Dimension
    4. Generative AI (not available in mainland China)
      1. Generate scenes, subjects, and icons using text prompts
      2. Generate vector patterns using text prompts
      3. Generate vector shape fills using text prompts
      4. Recolor your artwork using text prompts
    5. Quick actions
      1. Retro text
      2. Neon glow text
      3. Old school text
      4. Recolor
      5. Convert sketch to vector
  3. Illustrator on the web (beta)
    1. Illustrator on the web (beta) overview
    2. Illustrator on the web (beta) FAQ
    3. Troubleshooting issues FAQ
    4. Keyboard shortcuts for Illustrator on the web (beta)
    5. Create and combine shapes on the web
    6. Add and edit text on the web
    7. Apply colors and gradients on the web
    8. Draw and edit paths on the web
    9. Work with cloud documents on the web
    10. Invite collaborators to edit on the web
  4. Illustrator on the iPad
    1. Introduction to Illustrator on the iPad
      1. Illustrator on the iPad overview
      2. Illustrator on the iPad FAQs
      3. System requirements | Illustrator on the iPad
      4. What you can or cannot do on Illustrator on the iPad
    2. Workspace
      1. Illustrator on the iPad workspace
      2. Touch shortcuts and gestures
      3. Keyboard shortcuts for Illustrator on the iPad
      4. Manage your app settings
    3. Documents
      1. Work with documents in Illustrator on the iPad
      2. Import Photoshop and Fresco documents
    4. Select and arrange objects
      1. Create repeat objects
      2. Blend objects
    5. Drawing
      1. Draw and edit paths
      2. Draw and edit shapes
    6. Type
      1. Work with type and fonts
      2. Create text designs along a path
      3. Add your own fonts
    7. Work with images
      1. Vectorize raster images
    8. Color
      1. Apply colors and gradients
  5. Cloud documents
    1. Basics
      1. Work with Illustrator cloud documents
      2. Share and collaborate on Illustrator cloud documents
      3. Share documents for review
      4. Upgrade cloud storage for Adobe Illustrator
      5. Illustrator cloud documents | Common questions
    2. Troubleshooting
      1. Troubleshoot create or save issues for Illustrator cloud documents
      2. Troubleshoot Illustrator cloud documents issues
  6. Add and edit content
    1. Drawing and dimensioning
      1. Drawing basics
      2. Edit paths
      3. Draw pixel-perfect art
      4. Draw with the Pen, Curvature, or Pencil tool
      5. Draw simple lines and shapes
      6. Draw rectangular and polar grids
      7. Draw and edit flares
      8. Image Trace
      9. Simplify a path
      10. Symbolism tools and symbol sets
      11. Adjust path segments
      12. Design a flower in 5 easy steps
      13. Create and edit a perspective grid
      14. Draw and modify objects on a perspective grid
      15. Use objects as symbols for repeat use
      16. Draw pixel-aligned paths for web workflows
      17. Measure and plot dimensions
    2. 3D objects and materials
      1. About 3D effects in Illustrator
      2. Create 3D graphics
      3. Map artwork over 3D objects
      4. Create 3D Text
      5. Create 3D objects
    3. Color
      1. About color
      2. Select colors
      3. Use and create swatches
      4. Adjust colors
      5. Use the Adobe Color Themes panel
      6. Color groups (harmonies)
      7. Color Themes panel
      8. Recolor your artwork
    4. Painting
      1. About painting
      2. Paint with fills and strokes
      3. Live Paint groups
      4. Gradients
      5. Brushes
      6. Transparency and blending modes
      7. Apply stroke on an object
      8. Create and edit patterns
      9. Meshes
      10. Patterns
    5. Select and arrange objects
      1. Select objects
      2. Layers
      3. Group and expand objects
      4. Move, align, and distribute objects
      5. Snap objects to glyph
      6. Snap objects to Japanese glyph
      7. Stack objects    
      8. Lock, hide, and delete objects
      9. Copy and duplicate objects
      10. Rotate and reflect objects
      11. Intertwine objects
      12. Create realistic art mockups
    6. Reshape objects
      1. Crop images
      2. Transform objects
      3. Combine objects
      4. Cut, divide, and trim objects
      5. Puppet Warp
      6. Scale, shear, and distort objects
      7. Blend objects
      8. Reshape using envelopes
      9. Reshape objects with effects
      10. Build new shapes with Shaper and Shape Builder tools
      11. Work with Live Corners
      12. Enhanced reshape workflows with touch support
      13. Edit clipping masks
      14. Live shapes
      15. Create shapes using the Shape Builder tool
      16. Global editing
    7. Type
      1. Add text and work with type objects
      2. Create bulleted and numbered lists
      3. Manage text area
      4. Fonts and typography
      5. Convert text within images into editable text
      6. Add basic formatting to text
      7. Add advanced formatting to text
      8. Import and export text
      9. Format paragraphs
      10. Special characters
      11. Create type on a path
      12. Character and paragraph styles
      13. Tabs
      14. Find missing fonts (Typekit workflow)
      15. Arabic and Hebrew type
      16. Fonts | FAQ and troubleshooting tips
      17. Create 3D text effect
      18. Creative typography designs
      19. Scale and rotate type
      20. Line and character spacing
      21. Hyphenation and line breaks
      22. Spelling and language dictionaries
      23. Format Asian characters
      24. Composers for Asian scripts
      25. Create text designs with blend objects
      26. Create a text poster using Image Trace
    8. Create special effects
      1. Work with effects
      2. Graphic styles
      3. Appearance attributes
      4. Create sketches and mosaics
      5. Drop shadows, glows, and feathering
      6. Summary of effects
    9. Web graphics
      1. Best practices for creating web graphics
      2. Graphs
      3. SVG
      4. Slices and image maps
  7. Import, export, and save
    1. Import
      1. Place multiple files
      2. Manage linked and embedded files
      3. Links information
      4. Unembed images
      5. Import artwork from Photoshop
      6. Import bitmap images
      7. Import Adobe PDF files
      8. Import EPS, DCS, and AutoCAD files
    2. Creative Cloud Libraries in Illustrator 
      1. Creative Cloud Libraries in Illustrator
    3. Save and export
      1. Save artwork
      2. Export artwork
      3. Create Adobe PDF files
      4. Adobe PDF options
      5. Use Illustrator artwork in Photoshop
      6. Collect assets and export in batches
      7. Package files
      8. Extract CSS | Illustrator CC
      9. Document info panel
  8. Printing
    1. Prepare for printing
      1. Set up documents for printing
      2. Change the page size and orientation
      3. Specify crop marks for trimming or aligning
      4. Get started with large canvas
    2. Printing
      1. Overprint
      2. Print with color management
      3. PostScript printing
      4. Print presets
      5. Printer's marks and bleeds
      6. Print and save transparent artwork
      7. Trapping
      8. Print color separations
      9. Print gradients, meshes, and color blends
      10. White Overprint
  9. Automate tasks
    1. Data merge using the Variables panel
    2. Automation with scripts
    3. Automation with actions
  10. Troubleshooting 
    1. Fixed issues
    2. Known issues
    3. Crash issues
    4. Recover files after crash
    5. File issues
    6. Supported file formats
    7. GPU device driver issues
    8. Wacom device issues
    9. DLL file issues
    10. Memory issues
    11. Preferences file issues
    12. Font issues
    13. Printer issues
    14. Share crash report with Adobe
    15. Improve Illustrator performance

Learn how to create and work with actions to automate common tasks in Illustrator to work faster and more efficiently.

About actions

An action is a series of tasks that you play back on a single file or a batch of files—menu commands, panel options, tool actions, and so on. For example, you can create an action that changes the size of an image, applies an effect to the image, and then saves the file in the desired format.

Actions can include steps that let you perform tasks that cannot be recorded (for example, using a painting tool). Actions can also include modal controls that let you enter values in a dialog box while playing an action.

Illustrator comes with predefined actions installed that help you perform common tasks. You can use these actions as it is, customize them to meet your needs, or create new actions.

Actions panel overview

You can use the Actions panel (Window > Actions) to record, play, edit, and delete individual actions. This panel also lets you save and load action files.

Action panel
Actions panel

A. Action set B. Action C. Recorded command D. Delete E. Create new actions F. Create new set G. Play current selection H. Begin recording I. Stop playing/recording J. Modal control (toggles on or off)  K. Included command 

Use to expand or collapse all actions in a set or all commands in an action. Playing an action executes the action’s recorded commands in the active document. You can exclude specific commands from an action or play only a single command. To play an action on a file, select the file and select  . Select Button Mode to view actions by name only.

Action panel menu options

Note:
  • You can’t view individual commands or sets in Button mode.
  • In Button Mode, clicking a button executes the entire action—although commands previously excluded are not executed.

Record an action

When you create a new action, the commands, and tools you use are added to the action until you stop recording.

  1. Open a file.
  2. Select Create New Action   in the Actions panel.

  3. Enter an action name, select an action set, and set additional options:

    Function Key : Assigns a keyboard shortcut to the action. You can choose any combination of a function key, the Ctrl key (Windows) or Cmd (macOS), and the Shift key (for example, Ctrl+Shift+F3), with these exceptions: In Windows, you cannot use the F1 key, nor can you use F4 or F6 with the Ctrl key.

    Color: Assigns a color for display in Button mode.

    Note:

    If you assign an action the same shortcut that is used for a command, the shortcut will apply the action rather than the command.

  4. Select Begin Recording. The Begin Recording button in the Actions panel turns red  .

    Note:

    When recording the Save As command, do not change the filename. If you enter a new filename, that new name is recorded and used each time you run the action. Before saving, if you navigate to a different folder, you can specify a different location without having to specify a filename.

  5. Perform the operations and commands you want to record.

    Not all tasks in actions can be recorded directly; however, you can insert most nonrecordable tasks using commands in the Actions panel menu   .

  6. To stop recording, select Stop Playing/Recording.

Note:

To resume recording in the same action, choose Start Recording from the Actions panel menu.

Insert nonrecordable tasks into actions

Not all tasks in actions can be recorded directly. For example, you can’t record commands in the Effects and View menus, commands that display or hide panels, and use of the Selection, Pen, Paintbrush, Pencil, Gradient, Mesh, Eyedropper, Live Paint Bucket, and Scissors tools.

Use the Actions panel to check which tasks cannot be recorded. If the name of the command or tool doesn’t appear after you perform the task, you may still be able to add the task using commands in the Actions panel menu  .

Note:

To insert a nonrecordable task after you create an action, select an item within the action after which you want to insert the task. Then choose the appropriate command from the Actions panel menu.

Insert a nonrecordable menu command

  1. Select Insert Menu Item from the Actions panel menu   .

  2. Select the command from its menu, or type the command name in the text box and select Find

  3. Select OK.

Insert a path

  1. Select the path, and choose Insert Select Path from the Actions panel menu  .

Insert selection of an object

  1. Enter a name for the object in the Note box of the Attributes panel before you start recording. (Select Show Note from the Attributes panel menu   to display the Note box.)

  2. When you record the action, choose Select Object from the Actions panel menu  .

  3. Enter the name of the object, and select OK.

Insert a stop

You can include stops in an action that let you perform a task that cannot be recorded (for example, using a painting tool). After you complete the task, select the Play     bu  button in the Actions panel to complete the action.

You can also show a short message when the action reaches the stop as a reminder of what needs to be done before continuing with the action. You can include a Continue button in the message box if you don't need to do anything else.

  1. Choose where to insert the stop by doing one of the following:
    • Select an action’s name to insert a stop at the end of the action.

    • Select a command to insert a stop after the command.

  2. Choose Insert Stop from the Actions panel menu  .

  3. Type the message you want to appear.
  4. If you want the option to continue the action without stopping, select Allow Continue.

  5. Select OK.

Note:

You can insert a stop when recording an action or after it has been recorded.

Change settings when playing an action

By default, actions are completed using the values specified when they were originally recorded. If you want to change the settings for a command within an action, you can insert a modal control. A modal control pauses an action so that you can specify values in a dialog box or use a modal tool. (A modal tool requires pressing Enter or Return to apply its effect—once you press Enter or Return, the action resumes its tasks.)

A modal control is indicated by a dialog box icon  to the left of a command, action, or set in the Actions panel.  indicates an action or set in which some, but not all, commands are modal. You can’t set a modal control in Button Mode.

  • To enable a modal control for a command within an action, select the box to the left of the command name. Select again to disable the modal control.

  • To enable or disable modal controls for all commands in an action, select the box to the left of the action name.

  • To enable or disable modal controls for all actions in a set, select the box to the left of the set name.

Exclude commands from an action

You can exclude commands that you don’t want to play as part of a recorded action. You can’t exclude commands in Button Mode.

  1. If necessary, expand the listing of commands in the action by clicking   to the left of the action name in the Actions panel.

  2. Do one of the following:
    • To exclude a single command, click to clear the check mark   to the left of the command name. Click again to include the command.

    • To exclude or include all commands or actions in an action or set, click the check mark   to the left of the action or set name.

    • To exclude or include all commands except the selected command, Alt-click (Windows) or Option-click (macOS), its check mark   .

To indicate that some of the commands within the action are excluded, the check mark   of the parent action becomes dimmed.

Specify playback speed

You can adjust an action’s playback speed or pause it to help you debug an action.

  1. Choose Playback Options from the Actions panel menu  .

  2. Specify a speed, and select OK.

    Accelerated

    Plays the action at normal speed (the default).

    Step By Step

    Completes each command and redraws the image before going on to the next command in the action.

    Pause For __seconds

    Specifies the amount of time the application should pause between carrying out each command in the action.

    Playback Options
    Playback Options

    Note:

    When you play an action at an accelerated speed, the screen may not update as the action executes, files may be opened, modified, saved, and closed without ever appearing on‑screen, enabling the action to execute more quickly. If you want to see the files on‑screen as the action executes, specify the Step By Step speed instead.

Edit and rerecord actions

It is easy to edit and customize actions. You can tweak the settings of any specific command within an action, add commands to an existing action, or step through an entire action and change any or all settings.

Add commands to an action

  1. Do one of the following:
    • Select the action name to insert a new command at the end of the action.

    • Select a command in the action to insert a command after it.

  2. Select the Begin Recording button.

  3. Record the additional commands.
  4. When finished, select the Stop Playing/Recording button in the Actions panel.

To rearrange commands within an action, drag a command to its new location within the same or another action in the Action panel. Release the mouse button when the highlighted line appears in the desired position.

Record an action again

  1. Select an action, and choose Record Again from the Actions panel menu  .

  2. If a modal tool appears, use the tool to create a different result, and press Enter or Return, or just press Enter or Return to retain the same settings.

  3. If a dialog box appears, change the settings, select OK to record them, or select Cancel to retain the same values.

Record a single task again

  1. Select an object of the same type for which you want to rerecord the action. For example, if a task is only available for vector objects, you must have a vector object selected when you rerecord.

  2. In the Actions panel, double-click the command.

  3. Enter the new values and select OK.

Manage action sets

You can create and organize sets of task-related actions that can be saved to disk and transferred to other computers.

Note:

Any actions that you create are automatically listed in the Actions panel, but to truly save an action and not risk losing it if you delete your preferences file (Illustrator) or Actions panel file (Photoshop), you have to save it as part of an action set.

Save a set of actions

  1. Select a set.
    Note:

    If you want to save a single action, first create an action set and move the action to the new set.

  2. Choose Save Actions from the Actions panel menu  .

  3. Type a name for the set, choose a location, and select Save.

    You can save the file anywhere. You can save only the entire contents of a set in the Actions panel, not individual actions.

Load a set of actions

  1. Choose Load Actions from the Actions panel menu   .

  2. Locate and select the action set file, and then select Open.

Restore actions to the default set

  1. Choose Reset Actions from the Actions panel menu   .

  2. Select OK to replace the current actions in the Actions panel with the default set, or select Append to add the set of default actions to the current actions in the Actions panel.

Organize action sets

To help you organize your actions, you can create sets of actions and save the sets to disk. You can organize sets of actions for different types of work, such as print publishing and online publishing, and transfer sets to other computers.

  • To create a new set of actions, select the Create New Set button   in the Actions panel and enter the name of the set, and select OK.
  • To move an action to a different set, drag the action to that set. When the highlighted line appears in the desired position, release the mouse button.
  • To rename a set of actions, choose Set Options from the Actions panel menu    and enter the new name of the set, and select OK.
  • To replace all actions in the Actions panel with a new set, choose Replace Actions from the Actions panel menu  . Select an actions file, and select Open.
Note:
  • If you plan to create a new action and group it in a new set, make sure you create the set first. Then, the new set will appear in the set popup menu when you create your new action.
  • The Replace Actions command replaces all sets of actions in the current document. Before using the command, make sure that you've already saved a copy of your current set of actions using the Save Actions command.

Play an action on a batch of files

The Batch command lets you play an action on a folder of files and subfolders. You can also use the Batch command to populate a template for data-driven graphics with different sets of data.

  1. Choose Batch from the Actions panel menu.

  2. For Play, select the action you want to play.

  3. For Source, choose the Folder on which to play the action or select Data Sets to play the action on each data set in the current file.

    If you select a Folder, you can set additional options for playing the action.

  4. For Destination, specify what you want to do with the processed files. You can leave the files open without saving the changes (None), save and close the file in their current location (Save and Close), or save the files to a different location (Folder).

    Depending on the Destination option you select, you can set additional options for saving the files.

  5. Specify how you want Illustrator to handle errors during the batch process. If you select Log Errors to File, select Save As, and name the error file.

  6. Select OK.

    Note:

    To batch-process using multiple actions, create a new action, and record the Batch command for each action you want to use. This technique also lets you process multiple folders in a single batch. To batch-process multiple folders, create aliases within a folder to the other folders you want to process.

Batch options

If you select Folder for Source, you can set the following options:

Override Action “Open” Commands

Opens the files from the specified folder and ignores any Open commands recorded as part of the original action.

Include All Subdirectories

Processes all files and folders within the specified folder.

If the action contains any save or export commands, you can set the following options:

Override Action “Save” Commands

Saves the processed files in the specified destination folder and not to a location recorded in the action. Select Choose to specify the destination folder.

Override Action “Export” Commands

Exports the processed files to the specified destination folder and not to a location recorded in the action. Select Choose to specify the destination folder.

If you select Data Sets for Source, you can set an option for generating filenames when overriding Save and Export commands:

File + Number

Generates the filename by taking the original document’s filename, removing any extension, and then appending a three‑digit number corresponding to the data set.

File + Data Set Name

Generates the filename by taking the original document’s filename, removing any extension, and then appending an underscore and the name of the data set.

Data Set Name

Generates the filename by taking the name of the data set.


Related Resources

Talk to us

Ask the Community

If you've a question to ask or an idea to share, come and participate in Adobe Illustrator Community. We would love to hear from you.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online