Quantcast
Channel: Adobe Community : All Content - Illustrator
Viewing all articles
Browse latest Browse all 61891

Illustrator Scripting

$
0
0

Preferably this will be done with a JavaScript so it will be cross-platform.

 

I need a script that will take objects on the artboard, give them a unique name (perhaps Object01 to Object99) for exampe and export each as a SWF file or a high-resolution PNG with bounding boxes defined by the object, not the artboard.

 

Is this possible?  I am waiting for a book for Illustrator Scripting to come in the mail but I thought I would post this here.

 

My intention is to use the resultant exports in an ActionScript file and reference them from an assets folder where they will be placed.  I hope to maintain the placement of the exports according to their position on the artboard but I want them to have unique bounding boxes.  If I were working in Flash alone the placement of the objects on the stage would be maintained but I would still need a script to name each Movie Clip Object and export the library to an assets folder.

 

Is this possible?  I have posted in the ActionScript forum as well but I just thought I might be able to bypass Flash and use Illustrator to generate the Movie Clips with names.


Viewing all articles
Browse latest Browse all 61891

Trending Articles



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