Script UI breaks connection with AI Document?
Last week I wrote a simple script that interacts with my document and exports layers as images. The script works great, but I thought I'd add a nice UI to it before I release it to the world, so I...
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 ArticleHow do I copy active artboard from Illustrator to Photoshop?
Hi, I need to copy the active artboard from Illustrator to Photoshop. Can this be accomplished? I got a handle to active artboard like this //get artboard collectionvar myArtboards =...
View Articlescript to put artboard names in text boxes
Hi there. I have an Illustrator document with ~100 artboards, each artboard named by me. Each artboard has one textbox in it. Is there a way to take whatever name I assign to the artboard and print it...
View ArticleChanging opacity of text
I'm trying to change/access the opacity of a text object (Illustrator CC).In the documents, I found that it's represented by a text frame object, but it doesn't have opacity property. Text range and...
View ArticleScript to change links for many files
Does anyone have any suggestions or pointers to a solution for changing the file path for links in an Illustrator document? For example, let's say my Illustrator document is stored...
View ArticleIllustrator Script code for removing selected items
Hello, I have an Illustrator script to go through certain functions and after it runs there are items selected that I need deleted. I cannot figure out the simple script to remove the selected items. I...
View ArticleBatch Resize Artboard?
Hi all! I have zero knowledge in scripting so help would be greatly appreciated. I exported 60 frames in after effects and i've applied a batch trace in illustrator. This worked except that i created...
View ArticleExcel data to construct illustrator object
Problem:How to read real number data from selected columns in an Excel spreadsheet into an illustrator javascript array variable, so that then I can use this information to construct an illustrator...
View ArticleFILLING FORMS FROM A FILE CSV / EXCEL
I have a form I have to fill out every day several times according to the client, but this information comes from a spreadsheet, I would use a script to fill it for me, I have enough knowledge to make...
View ArticleMove layers to new artboard
Hi everybody, I'm trying to create a script via javascript for Illustrator. My problem is : I have a AI file with multiple layers, i want to create one artboard per layer, in order to export a...
View ArticleXMPString deferent results when used with alert() vs $.writeln()
im using Javascript. does anyone know why when i use alert() for example var rawXmpData = app.activeDocument.XMPString; alert(rawXmpData); the metadata displays in the alert box but when i try...
View Articlefile without opening the dialog window
How do I open a file on Mac without dialog window using a pre-defined path network? example: myfile / mytest / mytestfile.ai Thanks
View Articlesimple dialog - panel and checkboxes
I have very simple dialog - just one panel and few checkboxes. When I set panel as "undefined" everything works right, but when i set a size of the panel checkboxes disappear. Worksvar win = new Window...
View ArticleRelink many files at once
I was wondering if anyone can help. I'm using Illustrator CS6. I have an artboard with 200 of the same placed file. I now want to use this same layout for 30 other views, they are the same size, but...
View ArticleBatch export .ai to .png produces files without extension - please help
I created an Action to batch export a folder of .ai files to create 300dpi .png's of the .ai file's artboard. I did this by simply recording "Export...as png" with my desired settings then Batch...
View ArticleScript to automatically replace specific layer?
Hello. I work for a small company and we frequently get client AI files that we need to edit. Because of the way thay're formatted the layers always come in with the same name/structure, but they...
View ArticleScript to Make all text Dynamic
Is there a way or a script that will make all the text on a page Dynamic? At the moment we have to select each text box and press 'make text dynamic', which can get tiresome with a lot of text boxes....
View ArticleHow to speed up a javascript looping through all pathItems?
I have a very simple javascript for Illustrator that is intended to render all filled objects semi-transparent. It works nicely but for large documents with many objects this takes ages, even beyond...
View Articleshow error for pageitems outside the workarea of illustrator document
Hi all, I want to write a script which will alert the error message if the page items are outside of the workarea.Any object placed outside the page area should generate error message. Thanks,Sanat
View Article