Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [illustrator-scripting]

Questions about the automation and extending of functionality through the use of scripts within Adobe Illustrator.

0
votes
0answers
26 views

Illustrator script to find ANYTHING with gradient and replace to specific color

Trying to work a script that: Select ALL/EVERYTHING with gradient on fill or stroke (texts, shapes, linestrokes, paths - objects, etc) Replace ALL those gradient fills OR gradient strokes with: Fill ...
0
votes
1answer
48 views

Illustrator Script Help create LAYER TO GROUP function

Im kind of new on this and im trying to find a solution to "Group" all layers in INDIVIDUAL/SEPARATE GROUPS. Have not been successful within the 1st stage of my script to work by grouping each layer ...
1
vote
1answer
28 views

Apply warp effect to object from script

How do I apply a warp effect to an object from an Illustrator script (JavaScript)?
1
vote
1answer
32 views

Adobe Illustrator Script Adjustment

I'm working a script to make ALL the texts of a document with some specifics. Glad to say it's already functioning but not completely because it's just working on some of the textframes and not all of ...
2
votes
1answer
56 views

How can I create a path with Bézier curves using a script?

I have a script which makes a simple shape* for me: var docRef = documents.add(); var piRef = activeDocument.pathItems; { var pathRef = piRef.add(); pathRef.setEntirePath( new Array( ...
0
votes
2answers
30 views

How can I change the size and rotation in an Illustrator script?

How do I change the size and rotation of the numbers in this script ? var document = app.activeDocument; //Use the current open Ai File var selected = document.selection; //Use ...
1
vote
1answer
78 views

How do I get this Technical Details in my design

I have been searching for methods to get a similar result where I can show the client the technical nuisances of my design. I am trying to locate a script that would allow me to show the dimensions ...
2
votes
3answers
139 views

Corner pointing arrow grid

Hey folks, just whipped this up in Illustrator manually, but looking to do it on a much larger scale. Anyone have an idea as to how to automate this process or have a script that does somethin like it?...
0
votes
0answers
19 views

Script for selecting all the groups inside the parent group and renaming children in illustrator

I have written a script to select groups inside another group and rename them. The problem is that, when there is not any unselected group inside the parent, the parent is recognized as the one to be ...
0
votes
0answers
32 views

Batch converting many .eps files to 1 .ai file

Is it possible to batch convert many .eps files (made with Illustrator CC 2018) into a single .ai file? Preferably each .eps file to an artboard on the same .ai.
3
votes
2answers
183 views

Saving many artboards as eps without the artboards' border

I have an .ai document with many artboards. I would like to save each artboard separately as an .eps so I can place it in InDesign. If I use the "Save As" option and check the "Use Artboards" box. ...
1
vote
2answers
48 views

Problem in Artboard Arrange in Illustrator after duplicate

I am doing a presentation in Illustrator using multiple artboards and after I finished my work the client needed some changes made. I need to add one Artboard next in between of the presentation. ...
2
votes
3answers
160 views

What Tools Would You Use to Build Something Like This?

It's my first time posting here so please bear with me! I'm trying to recreate the image below but honestly I'm not even sure where to start. I tried brute forcing it and just overlaying squares on ...
3
votes
2answers
190 views

Looking for illustrator script to swap all objects with another

I have a map with small circles for over 200 cities. I need to change all of the circles into map pins. Is there a way to do this? I think it's a script maybe. I know how to select all objects of ...
0
votes
1answer
121 views

How to import data and create a symbol using scripting with Illustrator?

I would like to automate a series of actions in Illustrator, creating a complex symbol from vector images imported, or from simple symbols. The actions are: Importing files or choosing symbols from ...
0
votes
1answer
51 views

Adjusting warp arc bend with Adobe Illustrator scripting?

I'm attempting to write an Illustrator script that will get the length of a text phrase... Then based on the string length, set the warp arc bend, horizontal distortion, vertical distortion to a new ...
0
votes
1answer
83 views

Script for random movement (scatter)

I have found (and use) scripts for random opacity, random resize, random rotation etc. but I can't seem to find one which will do a "random displacement/move" With the other above mentioned scripts, ...
0
votes
1answer
71 views

Test if two Adobe Illustrator PathPoints are the same in script

I am trying to write a function that takes a PathPoint and returns its index relative to it's parent PathItem. Something like this: function getPathPointIndex(pathPoint) { var pathPoints = ...
1
vote
2answers
251 views

Illustrator Action / Script To Do Repetitive Artboard Reduction + Export

So I have a large number of *.ai files with assets at 3 unique sizes. I want to export the right most one to file (the largest one). My current process for doing this manually is: Open File Delete ...
1
vote
0answers
46 views

Order objects according to their place in Adobe Illustrator

I made this collage with CercleFill Script in Adobe Illustrator, it's a great result but the cercles are in random order, I found an other Adobe Illustrator script that can order layers alphabetly, ...
2
votes
3answers
161 views

Illustrator action to select & color items in different Artboards?

I was hoping someone could help me figure out a solution to my current problem. I have 16 Artboards with the same shape in each. I need to give each shape in each of artboard a specific RGB Hex value/...
0
votes
0answers
67 views

Connect dots of an open path in Illustrator

This post is hopefully not a duplicate of this (Unless I'm using the script improperly). I was wondering if there's a way to obtain in Ai what this Ae script (https://aescripts.com/connect-layers/) ...
0
votes
0answers
32 views

Extracting line positions from Illustrator document (CC 21.1.0)

I'm attempting to extract the coordinates of multiple horizons that are drawn on top of an image in illustrator. Each horizon is grouped by colors and contains multiple paths that never overlap ...
1
vote
2answers
148 views

Illustrator: Rotate multiple objects to one point

I'm wondering if there is a way to rotate multiple objects to one point in Illustrator. I already know about blending and Transform Each. Thank you!
1
vote
1answer
40 views

Illustrator: check if object is colliding [closed]

I'm working on a large map and there are a lot of text objects where some of them collide for some reason. Now I'd like to figure out if there is a method where I can see if objects collide with each ...
1
vote
1answer
37 views

SVG stroke-dashadjust polyfill. Trying to get SVG dotted stroke to align dots at the ends

W3C SVG Strokes introduces stroke-dashadjust but no browser implements it yet. Adobe Illustrator's stroke panel has a button for this feature – its tooltip reads Aligns dashes to corners and path ...
4
votes
2answers
311 views

Creating Archimedean Pentagon Spiral in Illustrator

Does anyone know how to create an Archimedean Pentagon Spiral in Illustrator without having to hand-draw or using the Blend tool? A script where the math can be controlled would be ideal.
0
votes
0answers
31 views

Exported SVG <style> Definitions Keep Changing -> Need Consistent Output

My website will rely on several hundred SVG files generated by illustrator. The website is designed to control certain styles in the SVG, changing their colors for different options picked by the user....
0
votes
3answers
311 views

Script to place a circle on the center of of all my strokes

I have a design I'd like to laser cut and need to put a circle in the center of the red lines. Is there a way to place a circle in the center of each line without having to do it manually and ...
0
votes
1answer
356 views

Illustrator script to convert multiple files into outlines with a pdf preset

Can someone help with an illustrator script that can convert text from multiple files in a folder to outlines and save it to pdf with a specific preset of my choice? Was able to find from my research ...
0
votes
0answers
76 views

Edit IPTC metada in illustrator extendscript

I'm batch editing all jpeg files metadata. I achieve to edit XMP title,description, keyword of jpeg files. But I want to edit IPTC data of these jpeg files too. Because shutterstock reads metadata ...
1
vote
3answers
3k views

Keyboard Shortcut to Change Stroke Weight?

Does anyone know if there is either a keyboard shortcut or script available in order increase and decrease stroke width in Illustrator? I would love to be able to just hit Option + + or - or ...
0
votes
3answers
70 views

How to multipy images in batch in Illustrator?

This is a continuation of this question. I will have a huge amount of seamless pattern in vector format. I want to multiply them by 9, so each pattern would occur three times in three rows. Then I'...
2
votes
2answers
238 views

How to extract in batch images from one file in Illustrator?

I have a huge amount of seamless patterns. There is anywhere from 1-25 patterns per file. I want to extract each pattern to a separate file. Is there any automated or semi-automated way to do this? ...
0
votes
3answers
1k views

I can't use clipping mask

I am new to illustrator and I find the 2017 version extremely hard to use and it makes me very stressed! I am making a logo for my team, and I have found a picture I would want to clip. So far I've ...
2
votes
2answers
546 views

Search for string and delete entire text frame with JavaScript for Illustrator

I can delete a layer by name: var myDoc = app.activeDocument; var myLayers = myDoc.layers; var myLayer = myLayers["layer name"]; myLayer.remove(); or by stacking order: var ...
0
votes
2answers
838 views

Ai: Resize object to artboard dimensions within an action?

I'm trying to create a custom action for initializing a new document so that it has a rectangular path marking the artwork bounds, trim marks around that, and a few other helpful guides and such on ...
1
vote
1answer
840 views

Script to get x,y positions from a path in a vector image

In the old days, if someone had a scientific graph, then readers would only have access to the rastered image. So if you wanted to get the raw data from the plot, you could use something like ...
0
votes
2answers
74 views

Can I assign actions to non-function keys in Illustrator CS6?

I simply want to be able to assign actions to keys in different locations on the keyboard, other than F1-F12. Is this possible? How?
0
votes
2answers
481 views

What this networking grid style effect called?

what is this effect called like dots connected to each other ? I want to create this effect in Illustrator , is there is any script or plug-ins available in market to create this? , i tried " ...
0
votes
1answer
91 views

Does the isIsolated property have something to do with the isolation mode in Illustrator?

As a follow up to this answer, I was able to select the innermost group via a script on Illustrator, but I'd like to enable the isolation mode for that group too. So that I don't have to double-ckick ...
1
vote
2answers
826 views

Automating filling text values in Illustrator from an external file [closed]

Is it possible to fill text values in Illustrator from an Excel sheet or another external file format? I have a large number of images and some texts to be added onto them. Is it possible to automate ...
1
vote
0answers
216 views

Batch Data-driven variables automatically size text to fit a defined area

so I want to know if it's possible to generate text on image with fixed width and adjust the text to fit the full width if, for example, the variable name length is short. Example in attachment I ...
1
vote
1answer
2k views

How to Placement a multiple page PDF file as artboard in Illustrator CC 2015

I'm trying to Placement a PDF file with 10 pages and need to adjust each page in Illustrator CC 2015. How to Place with Link The PDF file in one single AI files with all artboard within it?
0
votes
2answers
219 views

Recursively batch-resave Illustrator svg files with specific options

I neew to apply fit to artwork bounds and resave all files and keep file stucture. All my files are svg. and i want to save them with this settings: The most close solution i found is: Recursively ...
-1
votes
1answer
287 views

How to export font names as web font names in Adobe Illustrator CC

I'm trying to see if there's a quick and dirty way to export Adobe Illustrator files as SVGS that use the web font names on my company's website instead of the system font names on my machine. Is ...
1
vote
4answers
517 views

How to rotate all items as a group? (In a script, Illustrator)

I have an SVG with a few curved paths. I'd like to create n versions of this, by rotating them around as a group (360 / n degrees apart), around the center of the square-shaped canvas they're in, like ...
0
votes
2answers
1k views

How to insert text into an Illustrator file using ExtendScript JavaScript

I opened my Illustrator file successfully using the below code: var fileRef = new File("E:/project/AH_Portrait.ai"); var docRef = app.open (fileRef) I want to write some text ("Handgloves") into it, ...
1
vote
2answers
1k views

Paste at Mouse Cursor Position (“stamping”) in Illustrator (just like in Inkscape)

I have a large number of icons that I need to place at specific points throughout my document and as far as I can tell the paste function in Illustrator only places the point in either i) the center ...
4
votes
3answers
423 views

Subtract paths, automated (using a script)

I have 100+ SVG files, each containing a few closed paths (with Bezier curves), like this: I'd like to do the following: select the first (bottom) path duplicate it move the duplicate by an (x, y) ...