Assigning ICC profile to an AI or EPS document (that has no profile)
Hi I´m using Illustrator CS6. I have some AI and EPS files without embed ICC profiles. I´m trying to write a JavaScript that opens each document, assign the working ICC profile then save and close....
View ArticleStartup Script for Illustrator only
Hi, I've made a nice palette script for Illustrator CS6 on OSX 10.6.8.I put it into HD/Library/Application\ Support/Adobe/Startup\ Scripts\ CS6/Illustrator I works fine in Illustrator. BUT: If I start...
View ArticleIllustrator Timestamp
Is it possible to create a script for Illustrator that would "timestamp" the file when edits/changes have been made?
View ArticleSub Menu GUI display only on Checkbox selection, hide when unselected.
Hi All, Can somebody help me with the GUI stuff in the below code.I've this code to display two menus,Coordinates(Checkbox) with three Radio button items.and similarly textboxes (checkbox) with two...
View ArticleIllustrator Macros/Scripting
Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...
View ArticleAvoiding "PDF Modification Detected" blocking dialog
Hello, I am working on an Illustrator script opens an AI or PDF file, extracts some information, then converts it to a JPEG. It is designed to run unattended in batch mode, and sometimes is used to...
View ArticleExporting Adobe Illustrator XMP Data
Hello, My biggest problem is that doesn't know how to write script. Can anyone kind enough to enlighten me with a ExtendScript to export Adobe illustrator XMP data into a xml file please?Regards,Jeno
View ArticleCutting a circle
Hi all, I need to make shapes like this based on a value for graph purposes - usually I would just create a cutting shape based on trig (this shape representing around 60%) and subtract it from the...
View Articleapp.activeDocument.activeDataset.name
Hi, I've set up an action that I'm using to batch my process. I iterate through the dataSets[i] that have unique names. I am trying to determine the name of the current index of the datasets[i]. I am...
View ArticleBatch convert EPS/AI to PNG using Javascript
Hi,I have lots of eps and ai files which I would like to convert to PNG format. The reason for doing this is to make it easier to find the image that I want instead of opening it one by one. I know...
View Articleapply clipping mask to every top level group in document
Example file: https://drive.google.com/file/d/0BzEoJSYDhH_WcXhIalFRTk9qOGc/view?usp=sharing We can assume:• Grouped art on setups with a named die line.• All groups exist on 'Layer 1' I am looping...
View ArticlePrecise copy and move selected Objects using JavaScript to control Illustator...
Sorry - I've asked this question before, but in the wrong forum! I want to select everything in my document and copy it a precisedistance across the page (x number of times using a for loop)and then...
View ArticleXMLHttpRequest equivalent in Illustrator CS6 JavaScript?
Is there any way to make an XMLHttpRequest equivalent in Illustrator CS6 JavaScript? I'd love to be able to have an Illustrator script make use of returned JSON. Is it possible? For instance, in plain...
View ArticleAdd image link filename to each artboard
Hello everyone! I have a document with several artboards. In each artboard is a different linked image. Is there a way to add the linked filename to the bottom of each artboard? Thank you!
View ArticleJS - Center Selection to Artboard / New Document with certain Artboard size
TL;DR:how do I center my current selection to the artboard?just like hitting the "horizontal align-center" and "vertical align-center" buttons. Hi, I've been searching for the last two hours and...
View ArticleTRY CATCH not working
Hi All, I am trying to add spot color in illustrator using javascript, TRY CATCH is not woking, it is adding again and again same color value with name of "spot color 1" and "spot color 2" ...can any...
View ArticleSave file with script (skip warning 'modified outside Illustrator')
Hi All, We all know that command: app.activeDocument.save(); saves the document skipping all the dialogs and even alert that is popping out every time when you manually saving your file on a server:...
View ArticleHow to log the ExtendScript Tool Kit console prints to a Text File
Hi Chaps, I want to put prints in my whole Script and take the logs of the script.To do this I need to log the entire console output to a Text file.Can somebody please tell me how to write the console...
View ArticleHow to script Illustrator to insert filename in to textpath?
Hello everybody!I'm new to the scripting technology, and i wonder if its possible to create a java or apple script to do the following:We are forced to name our thousands of illu-files on a specific...
View ArticleHow to reflect in script?
Hi,I want the equivalent of choosing Object > Transform > Reflect, across the Vertical axis. How would I do this with JavaScript?Thanks,Max
View Article