Error 21 (Changing color on text)
http://forums.adobe.com/message/5580527#5580527 Carlos wrote a script in response to the above thread. It changes CMYK black, and grayscale black to a swatch called "spot black". It's awesome, but it's...
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 ArticleUnable to select same Graphic style on pasted eps
I open an eps.Copy the whole graphic.Open correct template and paste copied graphic.The template has Graphic styles with same fill and stroke (no other attributes exist) as in pasted graphic.However, I...
View ArticleAccess and return properties of placedItem.file
I'm trying to assign properties of placedItem.file. However, whenever I try to access placedItem.file it prints/returns "undefined is not an object". I've used the alert command to print the object...
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 ArticleIllustrator script to open file in Photoshop
The Bridge SDK has a script to open a selected file in Photoshop.Can this be done from Illustrator instead? It seems that the cross-dom function open() should work in either an illustrator or bridge...
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 ArticleHow to rename a layer like filename (with an action)
Could anyone help me to rename a layer of illustrator like document file name? (with an action)Thank youMauro
View ArticleCan I get some value from user? (illustrator cs3 script)
I am Designer. But I have to write program. I will making plugin about draw rectangle. 1. User run illustrator cs3. 2. User click File-Scripts-myDraw 3. Show dialog box. Dialog box have two...
View ArticleAction to remove all unused swatches nearly works...
I've been using the default Action to remove fluff (unused swatches, symbols, brushes, etc.) but it has a funny quirk. I have a spot black color (named black) that always escapes the purge, even if it...
View ArticleRelink multiple images and export in jpg
Hi, this is my first post, been searching for nearly 2 hours for my solution, didn't end up with any answers I have a template with the size of 500x500, there's my company logo at the right bottom and...
View ArticleHow to check if a path fits inside of another path?
I've just been told that I need a script that will check and see if a path fits entirely within another path? In my case, I need to see if a GroupItem fits within a circle of a specific size. I don't...
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 ArticleExtracting unique identifier for illustrator layers
Hi All, Multiple layers in an illustrator file can have the same name. So the layer name cannot be a unique identifier for layers. Is there a way to extract a unique identifier for layers through...
View ArticleMake a clipping Path while retaining it's appearance - script
This has been a long standing wish of mine, and I've devised this script that "kind of" works. This script takes your selection, copies appearance attributes, and pastes them to the top object after...
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 ArticlePg Number, File path and date automatically printed?
Is there a way to automatically print the page number, complete file path and date at bottom of each page (set to landscape)? Thanks!
View ArticleChangeSizesOfTextSelection.js
Illustrator version 10 installed with a sample script named ChangeSizesOfTextSelection.js. The script gradually changes the size of text. The way it works is, you type some text in Illustrator, select...
View ArticlePlacing registration marks on the corners of document
I have to process a lot of files to be router trimmed which requires them to have very specific registration marks. There are 2 different marks we have to use. The first mark is at the top left...
View ArticleExporting an .ai file to a bitmap file
In Illustrator Scripting (VBscripting), how can you export an ai file to a bitmap file? In Illustrator you can open an ai file and by selecting the Export option you have a choice of formats and one of...
View Article