Questions tagged [illustrator-scripting]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Illustrator Batch Action - Stop Command

I have an action with a stop command where user makes a selection before completing the rest of the action. I need this to run as a batch. The action works when running as a batch, however the stop ...
1
vote
1answer
29 views

How can I place randomly selected symbols onto a grid in Illustrator?

I have a bunch of square symbols that are all the same size. I would like to set random pre-designed symbols into a defined grid. Square symbols: Grid: Symbols placed randomly within grid: Is this ...
0
votes
0answers
12 views

How to save groups as separate assets with layers prefixed in the filename

I am trying to save illustrator art assets using the inbuilt Layer/Group hierarchy to determine the save location and file name. I believe this requires some Illustrator script. In this case I have a ...
0
votes
1answer
16 views

How to change color of multiple svg files in illustrator

I have more than 600 svg icons. Each one is separate files not combined, is there a way to change the color of all of it at once in Illustrator. I am using Illustrator CS6 version. is it possible ...
0
votes
0answers
20 views

How could I transform the colored Twitter emoji to Black and White automatically [duplicate]

I am looking for black and white emoji but haven't found too many good ones. One thing I'm thinking is taking the Twitter emoji and converting them to black and white (and grey potentially). One ...
1
vote
2answers
40 views

Delete path with size smaller than 0.7mm in Illustrator

I have a traced image in Illustrator with many smaller shapes. I want minimum 0.7mm size for every shape. Is there any way to delete or increase size of all shapes that are smaller than 0.7mm?
0
votes
1answer
33 views

Adobe scripting compatibility for different products

I am trying to understand scripting for adobe products using extendscript and I have a doubt whether I can re-use a script between different adobe products like ai, ps, pp and ae? Will there be some ...
1
vote
1answer
55 views

How to automatically generate text that adopt the same name as imported image or excel file in illustrator?

I have a lot of product photos to edit in Illustrator. I want to create several artboards with one product image, and then one text box for each artboard, but i need these to automatically adopt the ...
0
votes
1answer
16 views

How to export multiple artboards coordinates (x y) to file?

I have an Illustrator file with several artboards as attached. In particular I have an artboard that contains all the others. The other artboards concern the individual objects to be exported. I ...
1
vote
0answers
26 views

Selecting textframes with illustrator script

How could I select textframes in illustrator with script? Here is my code: var doc = app.activeDocument; var nameKorText = doc.textFrames.getByName('nameKor'); nameKorText.contents = "test"; I ...
0
votes
1answer
31 views

Get black value of color of text Illustrator Scripting VB

I am trying to determine the value of the black in each text item in an illustrator document. I have managed to successfully run the count words script and alter it to apply a tint and a new color to ...
2
votes
4answers
96 views

Approximate path Illustrator plugin

I've been creating simple animations like the one shown here. But I want to find a way to speed up the process by making the path jitter (not the thickness) while keeping a uniform stroke thickness (I'...
2
votes
1answer
86 views

Extract the text out of Illustrator file any API or script?

I'm working on a project that has 1000 files with the same typo ex. the file with the word "dogs" that has to be turned into "dog". these 1000 files has the same typo. Is there anyway that I can write ...
5
votes
1answer
439 views

How to make triangles with rounded sides and corners? (squircle with 3 sides)

Methods likes this Rounded corner shape with rounded sides Don't really work for triangle. So now I'm thinking what's the best way to make this shape, so I can control the radius of roundness at the ...
2
votes
1answer
80 views

Way to create circles in specific location in Illustrator or Indesign?

I have 167 coordinate points (origin is the left lower corner of a sheet) in which I need to place a circle, the center of it. Is there any way to create those circles (15 mm diamater) automatically ...
2
votes
1answer
49 views

Batch Saving Data Sets - Illustrator Error on Data Set Change

I am trying to update all the Data Sets in my Illustrator document so that when I do a Batch Action Save I don't get the following error: The current values have not been captured and will be ...
0
votes
0answers
32 views

Is there a way to target a path within a clipping group in an Illustrator script

I am super new to Illustrator scripting and am stuck on this problem, and hoping that someone might be able to shed some light for me. I have a clipping mask in illustrator with a curved line being ...
2
votes
2answers
200 views

Is there a way to do a find/replace on artboard names?

I've got a file with over 300 artboards. Each artboard has a unique name e.g. "symbol.hot.surface". I need to replace all the periods "." with an underline "_" I'm pretty sure this can be done with ...
0
votes
1answer
150 views

Is there a way in Adobe Illustrator to add Artboard's name into its own content automatically?

I want Artboards have their own names in themselves, for example in corner left top. I just wondered if there is any special character to do it, but there is not! Maybe a script will do the job!
1
vote
1answer
166 views

How do I use random color script to fill up the circular patterns that I have created using Phantasm version?

I have already expanded the appearance, broken the symbol link of the halftone patterns and ungrouped it. I want to fill up with several colors using random color fill script but it's not working.
0
votes
1answer
46 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
84 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 ...
1
vote
2answers
82 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
51 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
313 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
95 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
61 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
110 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
49 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
85 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
204 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
302 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
498 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
177 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 ...
5
votes
2answers
725 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
232 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
107 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
354 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
122 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
745 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 ...
2
votes
0answers
115 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
464 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/...
1
vote
2answers
291 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
59 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
102 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
437 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
3answers
616 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
704 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 ...
2
votes
4answers
5k 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
96 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'...