Skip navigation
Currently Being Moderated

How do I use relative paths when creating Actions?

Apr 11, 2013 10:51 AM

Tags: #file #illustrator #export #actions

I created an AI action that will perform the following actions on an AI file.

  1. Save currently opened AI file.
  2. Export current AI file as JPG.
  3. Export current AI file as GIF.
  4. Export current AI file as PNG.


After using this action, I realized there are some thing that need to be changed in order for it to be truly useful. First, I would like the JPG,GIF,and PNG to save to the same directory that the currently opened AI file is in. For example, if I open an AI file that is located at C:/images/ and run my image export action, the JPG,GIF, and PNG should save to that same directory (C:/images/). In a nutshell, I want to make this path dynamic but when I create the action it forces me to specifiy a specific location.


This becomes a problem when I try to send this Action Set to other memebers on my team. If they load the action set into Illustrator, it doesn't work properly because the save location is hard coded in the action. Does anyone know if this is possible?


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points