Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Viewing all articles
Browse latest Browse all 3671

Export File as TIFF... no file saved

$
0
0

Could someone take a look at my script and see if you can get a file to be saved as a TIFF?  VBscript is my main language so maybe I missed something in JavaScript.  The script will run... I see an AI progress window open 'writing TIFF file", no error messages but then no file is saved?

 

function test(){ 

 

     var doc = app.activeDocument; 

     var opts = new ExportOptionsTIFF();

     var destFile = new File("C:\TIFF Test\SOCAL_CN68_resx.tif");

     var type = ExportType.TIFF;

          opts.resolution=72;

          opts.imageColorSpace.Grayscale;

          opts.AntiAliasing=AntiAliasingMethod.ARTOPTIMIZED;

          opts.IZWCompression=false;

          opts.artboardRange="1";

     doc.exportFile(destFile, type, opts);

test();


Viewing all articles
Browse latest Browse all 3671


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