Ask a Question related to Adobe Illustrator Windows, Design and Development.
-
groods@adobeforums.com #1
JavaScript CS EPSPreview.NONE doesn't exist in Illustrator CS
Hi I have a script that saves a document as an EPS with no previews or thumbnails (required by pagination engine).
This worked fine in Illustrator 10 but throws an Invalid Enumeration Value error in CS. I have checked the documentation and the EPSPreview ENUM should according to it have a NONE value. Has anyone else seen this and no of a workaround????
I searched the knowledgebase but could find no reference.
Code Snippet as follows:-
newSaveOptions = new EPSSaveOptions();
newSaveOptions.cmykPostScript = true;
newSaveOptions.compatibility = Compatibility.ILLUSTRATOR10;
newSaveOptions.embedAllFonts = true;
newSaveOptions.preview = EPSPreview.NONE;
newSaveOptions.includeDocumentThumbnails = false;
theFile = new File(newDocName);
myDoc.saveAs(theFile, newSaveOptions);
myDoc.close(SaveOptions.DONOTSAVECHANGES);
Thanks
Greg
groods@adobeforums.com Guest
-
Use Javascript in Illustrator to associate color of PathItem to a swatch item?
Hi all illustrator experts, I am using illustrator CS and want to use javascript to associate the color of PathItem to a swatch. Is it possible or... -
Photoshop CS and Illustrator CS - Exporting Paths to Illustrator problem...
I have an image in Photoshop. I created a path on it and did export paths to illustrator. Saved a illustrator file and opened in Illustrator CS.... -
need javascript staff (anyone who knows javascript peroid) (READ)
hey its me ultimategamerx and im back in some clothes lol i need some people who know java script i need help please reply if ya know some -
using 'exist'
GO select * from publishers where exists ( select distinct * from titles where titles.pub_id = publishers.pub_id and type = 'business' --select... -
LenHewitt@adobeforums.com #2
Re: JavaScript CS EPSPreview.NONE doesn't exist in Illustrator CS
You may wish to post this also in the Scripting Applications Forum:
[url]http://www.adobeforums.com/cgi-bin/webx?14@@.eea5b36[/url]
LenHewitt@adobeforums.com Guest



Reply With Quote

