Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.