Create temp pdf file using javascript
i want create temporary pdf file of active document have multiple artboard in single pdf file,and artboards can have combination per user input.like if document have 4 artboards range can 1-2,1-3,1-4,2-4 etc.
var doc = app.activedocument;
if ( app.documents.length > 0 ) {
var savename = new file ( "dest" );
saveopts = new pdfsaveoptions();
pdfsaveoptions.savemultipleartboards = true;
saveopts.artboardrange="1-3";
doc.saveas( savename, saveopts );
}
i have tried code no luck , code opening dialog save don't want,plz in advance.
please delete line , try again:
pdfsaveoptions.savemultipleartboards = true;
More discussions in Illustrator Scripting
adobe
Comments
Post a Comment