Renaming EPS files
Hi people!I was trying to rename a few EPS files using this code but it didn't work. var myEPS = Folder.desktop + '/AF Files/oldName.eps'; myEPS.rename( Folder.desktop + '/AF Files/newName.eps'); I...
View Article[JS] CS6+ executeMenuCommand
Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...
View ArticleFind raster low or high resolution linked or embed images
Is there any way to find these images by using a script? hugs to all
View ArticleMultiple artboards to multiple PDF's
I have over 300 different ai files with about 50 artboards in each one and need to export each artboard to a separate PDF file. I'm on a windows machine so the script would have to be JavaScript. Is...
View ArticleCan you hide a layers using scripting?
I have a very complex graphic with many elements and I would like to find a way to hide layers based on a list. In the documentation that there is a way to tell if a layer is hidden, but didn't see...
View ArticleExportOptionsTIFF not listening to my instructions!
I have discovered yet another inconvenience, and I hope someone may tell me what I am doing wrong.Using the export TIFF command from an Illustrator document, I am hoping to produce a .tif with 600dpi....
View ArticleIs it possible by script to send print separations to a .pdf and then append...
I have written a script to create, save and print an order for printing-plates. The result is a two page .pdf to which, in an ideal world, I would like to add,either at the time of saving it or later,...
View ArticleOpen multi-page PDF in Illustrator
Does anyone know of a script that would allow Illustrator CS4 to open all pages of a PDF, instead of opening one page of the PDF at a time?
View ArticleRender swatch Legend Script
I was wondering if someone could help me edit this Script Written by John Wundes. Its almost perfect for what i need, but my problem is the text box inside of the swatch when it is rendered is to...
View ArticleAnti-aliasing Type Optimized/Art Optimized on PNG export
Hello there, I'm modifying a javascript that makes an export of each layer contained in an Illustrator document and I want to specify the method used for anti-aliasing (either Type Optimized or Art...
View ArticleBatch combine files into one illustrator document - how to open target document?
I am making a script which will: 1) Open a folder of Illustrator files2) Open each file in the folder (these files are called the source files)3) Select all the contents of the source file4) Copy the...
View ArticlePlacing files/images
Sorry guys, but I an new in this... help me please! How can I place any image or any file into my active document via JavaScript?Not using actions or menu like: File > Place... Is there a way to do...
View ArticleSelect blends only
I use 'Select Extended' script quite often.But there is no 'Select Blends' option. Is there a way to distinguish blended objects via DOM and JS?I guess one draft way to do it is to read objects' names...
View ArticleCurrent folder?
Hi guys, I was trying to find the current folder, but I couldn’t :/Folder.Desktop = Desktop (Win and Mac) My little question is:- How can I send to JavaScript the current folder?(No path, just the...
View ArticleScript Convert - Gray to CMYK
How do I convert a grayscale color item to CMYK, with k = 100% with overprint? Thanks for helping!
View ArticleIs it possible to copy text to the clipboard in Illustrator via Javascript ?
I am working on a very basic script that exports coordinates from Illustrator.At the moment I am just outputing the values via $.writeln() I was wondering if I could copy the output values to the...
View ArticleExtract text from illustrator for translation then replace with translated text
I am trying to find a way to expedite translations of our drawings. Each drawing has a series of callouts showing what that piece of the drawing is via text. I would need to do 100's of drawings for...
View ArticleUpdating all multiple linked files
Hello all, again. I am needing to update multiple linked files within one document. The linked objects are on different layers. Can I get some suggestions on how to make this work?
View ArticleConvert string (string of JSON) to JSON object?
**EDIT**I finally figured out how to use #include instead of file.read();. This solves my immediate problem. However I am still curious as to whether it's possible to do what I'm asking for below, just...
View Articleexport in pairs
hi!!, I have a file with 1000 layers and I need to export in pairs in jpg, Can anyone help please? sorry for my English is very bad
View Article