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
1answer
11 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
17 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
27 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
91 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
68 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
386 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
76 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
30 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
28 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
143 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
118 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
126 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
77 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
65 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
44 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
253 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
78 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
58 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
98 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
47 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
83 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
194 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
275 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
411 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
176 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
628 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
223 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
95 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
298 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
108 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
647 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
107 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
396 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
265 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
56 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
91 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
421 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
559 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
645 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
92 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
368 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
4k 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
819 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
2k 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
1k 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
147 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
848 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
137 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 ...