Skip navigation
Currently Being Moderated

Creating SVG:s from artboards -- exportFile vs. saveAs

Aug 3, 2012 6:41 AM

I need to save artboards as SVG:s. The reason I want to script it is because of all the manual labor required to use the built-in Save As... / Save a Copy method is cumbersome and mistake-prone, and won't cut it in my current environment.

 

Now, judging from the documentation, I can use exportFile with ExportOptionsSVG. Problem is, it exports the entire document, not the individual artboards. I know the GUI Save As... functionality can save by artboard, but in the scripting environment there are no SVGSaveOptions class to go along with the saveAs function.

 

Am I screwed?

 
Replies

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