Batch script on multiple files in folder
Hi, I'm very new to JavaScript and I've combinded a few codes I've found on here to build a swatch color replacement tool. It works great! The only issue I'm having is that it only runs on one file in...
View ArticleScript works Great, Pro-Tips appreciated.
This script is used to make a few changes that SOME of our die suppliers require. It works great. If you have a little time to look it over and give me some advice on best practices, consiseness etc....
View ArticleNew to Illustrator scripting, looking to make a Compound Path from Existing...
I am wondering how to select existing paths (normal paths and compound paths) and make a new compound path. Google does nothing for me on this.... I have begun to understand the basics of targeting...
View ArticleShear / Skew using shear angle and axis angle
Hi, I want to skew/shear the selected object using shear angle and axis angle. I am using below code for shear the object, var skewMatrix = app.getIdentityMatrix();skewMatrix..mValueB = .5 But i dont...
View ArticleDimension Illustrator CS6
Does anyone know of a script that will automatically put dimensions on rectangular shapes in Illustrator CS6?
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 Articleungroup all groups on an active layer(JavaScript).
Does anyone know how one would go about ungrouping all groups on an active layer with JavaScript?
View Articlean Illustrator error occurred: 1346458189 ('PARM')
Hello everyone, I am trying to open some documents in Illustrator CS4 by javascript, walk through all layers including sublayers, doing something (for now just reading the layernames and showing them...
View ArticleText spacing values
Hi There, Is there a way to find the leading value of each line of text in an area text box (assuming the leading has been set differently on each line)?In the same line of thinking, I would also like...
View ArticleShortcut for js script with CS4 ?
hi all,with my old version of illustrator (CS), i might affect a shortcut to a specific scipt .Now i have CS4 version, and i don't find similar possibility. how can affect in this new version ? Thanks...
View ArticleIllustrator Timestamp
Is it possible to create a script for Illustrator that would "timestamp" the file when edits/changes have been made?
View ArticleMail merge using illustrator
Hi There, I'm trying to find a way to automatically populate data into Illustrator and InDesign. I was thinking of doing it using Applescript and importing an excel file into an illustrator graph...
View ArticleConvert to Grayscale
Hello, It is possible to apply the Convert to Grayscale(Edit->Edit Colors->Convert to Grayscale) for the selected items in illustrator cs3 in script (javascript)?Kindly advice me the...
View ArticleError opening file after upgrading to OS X Lion
Just upgrades to Lion and now I get the following error when using the open() method: "The specified file could not be opened because it could not be found" This was working before the upgrade, does...
View ArticleScript: rename layers?
Hi, is there a quick way how to renumber or batch rename all layers in a file so they would be named in consequent numbers? Doesn't have to start from exact number, I was wondering if maybe there is...
View ArticleHow to cancel all alert at once
Hi All, I am trying to close alert at once but the loop continues the alert, how can I stop the alert at once var doc = app.activeDocumentvar layersToTargetNameArray = ["Background", "Artwork",...
View ArticleAnything similar to javascript's setInterval in ExtendScript?
I need a way to poll my server for new jobs for the illustrator script to work on every few hours.I tried with $.sleep(), but that is blocking, I need a non-blocking way to do this.Any advice?...
View ArticleDataset not updating automatically
Hello, I have a graph that is dynamic. I already have a variable set up and also a dataset. This file is saved. Basically, I am trying to write some code that will open the document, import the...
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 ArticleScripting Illustrator actions, incorporating calls to Excel
Hello all, I need some help... I am building a series of logos — based on word strings — using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file....
View Article