Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an .ai project open in Illustrator, that I need to export to multiple PNGs with different resolutions.

Is there a way to write a script or automate these exports in some way?

share|improve this question

You can create an Action to do this. These instructions are for CS5/Win:

  1. Show the Actions panel: Window menu>Actions.
  2. Click the Create New Action at the bottom of the panel and name your action, ex. 'Save PNGs'.
  3. Click the Begin Recording button.
  4. Export your PNGs with the names and resolutions you want, ex. File>Export, choose a name and resolution, etc.
  5. Click the Stop Playing/Recording button when you're done.

You can now open any another file and run the action by clicking the play button. The limitation is the PNGs will save with the same names in the same folder as when you recorded the macro. If you want more control or want to run the action on multiple files you can look at the options in Batch Mode (click the tiny menu button at the top right of the panel, choose Batch...).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.