Hi there,
I'm working on building an action in Illustrator CS5 that will do the following:
Up to step 4 this is pretty simple, but so far when trying to record the saving step it insists on using the directory that I'm building the action in - not the relative one based on where the current file is opened. Also, unlike the 'Save For Web JPEG' default Illustrator action, the PDF saving step doesn't retain any of the specific settings within the action.
Anyone find a solution for something similar? I feel like this would be a commonly asked question here, but I haven't found anything really asking about this.
Any help would be much appreciated, thanks!
I see there's a JavaScript file in the samples named 'Save as PDF.jsx' but when I run it the script hangs on line 55: 'sourceDoc = app.open(files[i]); // returns the document object' and tells me that "app.open is not a function" in the console. I've tried to specify the target to Illustrator both in the drop down (it's not listed as an option) and by adding #target illustrator, but neither work.
Also, if I can get this to work how can I combine it with the other steps I need in the action? Ideally the above steps would only be the first part of a longer sequence, but it could function as just those 4 if need be - I'd just have to compile a second action to carry out the rest of the plan.
Sorry if this is better suited for the scripting threads at this point.
North America
Europe, Middle East and Africa
Asia Pacific