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

eps save options

$
0
0

I have a long script that works but the save options are giving me problems;

 

    var saveName = new File ("S:/STE2/STE2_BAGS/" + fileName);
    saveOpts = new EPSSaveOptions();
    saveOpts.compatibility = Compatibility.ILLUSTRATOR13;
    saveOpts.generateThumbnails = true;
    saveOpts.preserveEditability = true;
    saveOpts.useArtboards = true;
    saveOpts.preserveapperance = true;  
    saveOpts.artBoardClipping = true;
   

saveOpts.artboardrange.string(1);

 

I can't get it to save with the "Use Artboards" checked when saving as an EPS and to set it up to save with Range 1 all I need to do is add that last line correct?  It's hard to test this as it is auto deleted after it is received in the desired folder and when you open the file it dosn't show that the "Use Artboards" setting is checked.

 

I can write some code but there are so many things are easy to messup any help is 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>