Batch replace color without using swatch as source
I've searched these forums and the rest of the web trying to find a method to do this... Actions don't cut it (if Actions were able to record the "replace color" dialoge it would be fine) so I've...
View Articlecreating outlines from text using javascript in Illustrator CS5
Hi everyone, Is there a way to select all of the text on all artboards and CREATE OUTLINES using Javascript? I've googled and googled, but I can't seem to find any help. The text that Adobe provides...
View ArticleSVG-files into one layered AI-file
Hello good guys!Although I'm new to scripting Illustrator, I'm looking for a script that can help me – and merge 10 SVG-files into one layered AI-file. I get a lot of projects which contents 10...
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 ArticleRelative Stacking order of Sub Layers and items
I want to get the items in a layer sorted in their stacking order (including any sub-layers). For example: Layer 1 item A Layer 1a Group B item C In the example above, I would get back an...
View ArticleSymbol Insertion from Library file
I can insert Symbols from the current document via script. Is there a way to insert a symbol from a symbol library?
View ArticleSet unit preferences (Javascript)
I can't find a way to set the unit preferences for Illustrator CS6/CC using JavaScript. I found that this works (setting units for stroke):var units = 2; // 0-inches, 1-milllimeters, 2-points...
View ArticleChange font in Illustrator cs4 js
I need to assign specific font to my text and it doesn't work. What am I doing wrong: var my_OUTSIDE_TextFrame = myInstrLayer.textFrames.add(); my_OUTSIDE_TextFrame.geometricBounds = ["1.6 in", "1...
View ArticleApplecript or Javascript to load action set
having trouble trying to load an action and run it via scripting.I keep getting illegal argument. tellapplication "Adobe Illustrator" activate load actionfile "path/to/action/file/actionSet1.aia"...
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 ArticleImporting Color to Swatch Library from Text File
Hi,I have a large list of custom colors in Excel that has the color name and CMYK breakdown of each color. I'm looking for a way to import this information to create a custom Color Swatch Library. That...
View ArticleBatch creation of variables
A client works with CS4 on a map with about 2000 text boxes that need to be exported for translation. Is there a way to batch process the file so that all the text boxes are assigned a variable for...
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 ArticleSplit Text into Layers
I was wondering if anyone is aware of a script that is able to do the same as this photoshop one http://www.agasyanc.ru/text-splitter, I would use that one in photoshop but its not working in CS6. I...
View ArticlePackaging script for CS5
Anyone have a script for collecting all assets (pix, fonts, etc() for Illustrator CS5? I tried the one that comes with the program but it doesn't work properly…thanks!
View ArticleAnd or statements
Trying to delete everything that has a certain stroke color and *either* has a width or hieght of less than 7. var docRef = app.activeDocument;var selectedObjects = docRef.selection;var CC =...
View Articlebreak long process in CC 2014 (Mac OS)
var win = new Window("palette", "SnpCreateProgressBar", undefined); win.pnl = win.add("panel", undefined, "Script Progress"); win.pnl.progBarLabel = win.pnl.add("statictext", undefined, "0%"); var btn...
View ArticleEdit/Edit Colors/ Convert to CMYK via applecript
Cant seem to figure this one out.In Adobe CC, I am trying to convert every path item of the current document to CMYK using applecript or javascript. The equivalent to Edit/Edit Colors/ Convert to...
View ArticleHow to divide all textFrames in one-character-per-textFrame?
Hello: How to divide all textFrames in one-character-per-textFrame? Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s". Help, please.
View Article