Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Detecting artboard size for batch export

$
0
0

Hello all,

 

At the moment I have an Illustrator document with multiple artboards of different sizes. I am trying to write a script that loops through the artboards, detects the artboard width, and exports each one to PNG with a custom scale depending on said width. From what I've seen in the json reference library, it looks like artboard.width is not an exposed property. The only alternative approach I can think of is saving each artboard out as a seperate AI file, then opening the files and resizing each one according to document width? Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>