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
1answer
30 views

The area selected in the illustrator script does not have a bottom center line

The area selected in the illustrator script does not have a bottom center line. What could be the problem. var aDoc = app.activeDocument; var aSel = aDoc.selection; var len = 10; var line = ...
1
vote
2answers
56 views

How to capture the information of any object in Illustrator and Photoshop

Is it possible to select an object and capture any information requested with the info Panel ctrl+8 in Illustrator, and F8 in Photoshop. like the CMYK, RGB Values of the fill and outline colors? To ...
0
votes
2answers
33 views

Resizing shapes using an absolute value in Illustrator

I want to clone and resize a bunch of the same shape. I want them to all be X smaller/bigger than the previous shape, where X = absolute value (not a relative percentage). Currently, I can only find ...
0
votes
0answers
32 views

Illustrator Script Group Sublayers One By One

Trying to convert all sublayers of my design (with or without children) into a group on its own. You can check on my screens what i have to what i need to obtain. What i have What i need Here is ...
0
votes
1answer
109 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
39 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
41 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 ...
3
votes
1answer
66 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
41 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
82 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
152 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?...
3
votes
2answers
199 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
121 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
168 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
318 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
155 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
66 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
126 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
85 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
353 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
66 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
242 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
73 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/) ...
-1
votes
0answers
38 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
195 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
46 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
56 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
357 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
33 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
404 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
456 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
84 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 ...
2
votes
4answers
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
75 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
284 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? ...
1
vote
3answers
2k 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
625 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
1k 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
955 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
101 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
592 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
101 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
1k 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
232 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
253 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
305 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
572 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 ...