Questions about methods and scripts for automation and alterations by programming language within Adobe Illustrator.

learn more… | top users | synonyms

3
votes
4answers
151 views

How to make random dots in different sizes and spaces between the dots in Illustrator?

I am trying to make something similar to this? Obviously it's possible to make it manually piece by piece, but I am looking for some kind of automated feature in Illustrator to achieve this? Is this ...
0
votes
1answer
48 views

Script to add numbers to end of AI layer names?

I figure this script would be fairly easy to write since its a simple task but I know next to nothing regarding javascript. Essentially all I want to do is add numbers to the layer names, the top ...
0
votes
2answers
70 views

How to change multiple colors in the same text area quickly?

As shown picture, how can I change the color of "Ms" or "Mr" in one go? Any Way or Script?
0
votes
1answer
56 views

illustrator actions - live trace settings

I'm trying to set a macro to batch vectorize png to svg vectors, but i'm stuck at the Live Trace action. Illustrator will only use the default preset, how can overwrite the default preset OR create an ...
0
votes
1answer
53 views

Is there a way to automate reversing the order of artboards in Illustrator?

Is there a way to reverse the order of artboards so that pages 1 2 3 4 become 4 3 2 1 ? I am trying to extract the English pages from a bilingual booklet and changing each artboard manually is not the ...
1
vote
1answer
68 views

Illustrator Scripting - Preference Strings - How to obtain?

This is a followup question to the answer in script-to-automatically-snap-all-points-to-grid-in-adobe-illustrator. In the answer getIntegerPreference is used to find the grid setting. But the question ...
7
votes
1answer
115 views

Script to automatically snap all points to grid in Adobe Illustrator?

How would you write a script to move all points of all selected paths to the nearest (non-pixel grid) grid point? e.g. I want all of the points of each polygon/path to snap to the nearest point on ...
0
votes
0answers
51 views

How to select low resolution images in illustrator?

I am getting EPS/PDF files with lots of tiny images in it an those tiny images are having resolution lesser than 150 dpi and while masked. When it is lesser than 150dpi my preflight server is giving ...
1
vote
2answers
65 views

Illustrator Javascript scripting: place image file if it has same name of illustrator file

I'm -slowly- learning how to code using javascript in Illustrator, and I'm trying to write a script that automatically picks an image file from a given fixed folder in my HD and places it in a fixed ...
1
vote
2answers
208 views

How to set keyboard shortcut to run script in Illustrator

Is there a way to setup a keyboard shortcut to run a custom script in Illustrator? So far I haven't found a way. If this is not possible to do from within Illustrator, is there a 3rd party solution ...
0
votes
1answer
49 views

Embedding data in Illustrator objects

I'm trying to use illustrator to add string or numeric data to various elements (groups,paths, etc.) Is there a way to do this in Illustrator? With inkscape I can use the XML Editor, it's a bit ...
0
votes
1answer
160 views

Is there a script to export illustrator image as multiple file types, colours, sizes?

I have 6 different logos to each be individually saved as Black >> CMYK / RGB >> JPG / TIFF / EPS Colour >> CMYK / RGB >> JPG / TIFF / EPS White >> CMYK / RGB >> JPG / TIFF / EPS Is there a script ...
0
votes
0answers
46 views

How to delete gradient from the swatch

The following is a script that creates a gradient from the fill. However, the gradient is added to the s Swatch. The question is: How to convert this script such that after you apply it, the new ...
0
votes
0answers
27 views

JSX file placing stopped working

I have a .jsx script I'm using to place a set of png files into a clipping group. Was working fine yesterday, today it fails with error code 9080: Unable to set placed item's file, is the file path ...
0
votes
0answers
25 views

Creating a custom Arrowhead [duplicate]

I'm trying to create a custom arrowhead for a set of 500+ pre-made lines. I am currently able to select one of the default arrowheads from the stroke toolbar, but I need to create a cone shaped one ...
1
vote
0answers
658 views

Illustrator Script to Release All Clipping Masks & Groupings, Etc.

Is there a script available for Illustrator that would allow for all clipping masks, groupings and compound paths to be released? Essentially a script that could breakdown a file to it's original ...
0
votes
0answers
11 views

Is there a way to import and iterate text data from excel to illustrator? [duplicate]

I am making a card game and I have a spreadsheet with all the data which I need to put on the cards. Is there a way to get it directly from excel to illustrator (or any other vector app)?
1
vote
1answer
191 views

How to add numbers to Adobe Illustrator anchor points?

You know the "connect the dots" books for children where you connect the dots from 1 to 100 and a picture becomes visible? I would love to do the same in Adobe Illustrator. Is there a way (with any ...
0
votes
1answer
129 views

Merge Point Text Objects Into One Text Area In Illustrator

After importing from PDF I have several single line point text objects which I want to convert to one multiline text area object. Currently I have several lines of text represented as separate point ...
1
vote
2answers
85 views

What is the best way to export an artwork in Illustrator?

I have 18 artworks in an .eps file. I wonder what is the best way to extract/export one of those artwork into a .png/.jpg ? Example I'm not sure if this possible, but is there a way to ...
2
votes
1answer
153 views

Morph vector shapes by more than 100% (shape extrapolation)

I'm looking for the tool that can perform blending/morphing of two vector shapes by more than 100%, i.e. extrapolation. Standalone or online tool or plugin/script will work for me. It shouldn't be ...
13
votes
5answers
2k views

Programmatically creating radiating rows of dots

I want to create a speaker hole pattern like this: But I'm not sure where to start. Can this be achieved without laborious positioning in Illustrator or similar software?
0
votes
0answers
68 views

Can you pull a spectrum of colors (create a swatch group) from persons face?

I'm trying to do a low poly(gon) of my brothers face. I have his .jpeg in illustrator, I'd like to to try the following with the least amount of energy / time. If .ai can do something that saves me ...
1
vote
2answers
137 views

How to do animation frame pngs?

I wonder if there is any automated way of doing animations like on https://www.dropbox.com/ An image is really a set of frames that is cyckled through with javascript. What I would like to know is if ...
0
votes
0answers
106 views

Adobe Illustrator script to walk through layers while exporting

I am trying to loop over 2 different top layers on my .ai file, each top layer contains several sub layers. The 2 top layers are icons (usual ui stuff) and modifiers (like plus and minus symbols). I ...
1
vote
2answers
270 views

How to get the x/y position of multiple points on an artboard

I've got a bunch of objects on an artboard and I'd like to know the X/Y positions of them all. It would be fine to either have pixel values, or a % from the sides of the artboard. Importantly, I ...
3
votes
2answers
761 views

Illustrator: Edit text in multiple text boxes at the same time

I have two text boxes that I need to have identical text, but in different fonts. Is there any way I can edit only the text content of both at the same time (keeping the fonts different).
0
votes
0answers
44 views

Illustrator - action to adjust line weight

I'm unable to get an action to open the file/select all/adjust line weight/save/close. (for example - .48 to .25) The process works - but the results are the original line weight. Is there a ...
1
vote
0answers
44 views

Automated method of setting ideal sizes and positions of symbols or logos of various proportions, when put together (ignoring any text) [duplicate]

I always spend too much time trying to scale symbols or logos that are supposed to look harmoniously next to each other, like below: These seem to be acceptable to me, but I wonder if there is any ...
1
vote
1answer
125 views

Scripting In photoshop and Illustrator

I'm a graphic designer, but I have never been into coding, now I want to learn Scripting for adobe programs like photoshop and illustrator, What would be a good place for a non developer to start ...
-1
votes
4answers
393 views

Illustrator: How to draw circles at control points?

I drew a polygon using the pen tool. Now I'd like to draw small circles (illustrating vertices) at the polygon control points.
-2
votes
1answer
762 views

Connecting dots on Illustrator

Is that possible to connect dots in Adobe Illustrator, automatically? To do something like this:
2
votes
1answer
178 views

Tapering spiral text - tried text on path, art brush, and envelope distort [duplicate]

Using Illustrator CC 2014: I'm trying to create a spiraled text in which the text size decreases as it spirals inward. I've tried putting the text on a path created using the spiral tool and ...
0
votes
1answer
360 views

scripting: create a user input form? [closed]

I havent been able to find any references that this should be possible, maybe you can assist ? What i would like to do is to add a user interface for our designers when dealing with a specific object ...
0
votes
1answer
360 views

How to reference a sublayer by name in an Illustrator script?

How can one reference a sublayer in functions like setLayerVisibility, that accept layer names as arguments? I tried setLayerVisibility("MyLayerName.MySublayerName", true) , but that was ...
0
votes
1answer
737 views

Divide a path into equally parts

I'm looking a way or tool to divide a spline or path in equal parts, or, what is the same, equidistant points (anchors). This is a very common question, but i haven't found an answer. Also, is pretty ...
3
votes
1answer
187 views

How can I automatically group each shape with the text inside it for a huge collection of rectangles?

I have a .dwg (AutoCad file) map full of fields (rectangles) that I'm manipulating with Illustrator. Each rectangle has a text inside it that indicates its number. The problem is that there is no ...
1
vote
3answers
1k views

How to auto fill dates while doing a calendar?

I want to make a useful calendar in AI. Thus far I have made 12 columns, which each stand for a month, and around 31 boxes in each with days and weekdays listed. There has to be a box because I want ...
4
votes
2answers
731 views

Can I use Illustrator to import text data and populate text boxes?

I have a long list of organizations in one column in my csv. I would like to populate separate text boxes within one Illustrator file with this data. These text boxes are not in a table, but in a ...
0
votes
1answer
94 views

Is it possible to realize this particular type of radial gradient in AI?

I came across a LaTeX package called pst-slpe. It is part of the PSTricks bundle for generating ps graphics in LaTeX. A particular type or gradient, called radslope (or radslopes) is defined in this ...
1
vote
1answer
143 views

Illustrator: Selecting all objects across x axis

Ok so I got this huge document, about 1.5 x 1.2 metters and because I was working a little bit fast the aligning of some elements wasn't pixel perfect but is more or less accurate. Now that I've ...
1
vote
1answer
42 views

Converting from CSS3 to SVG

So, I was working on my site and an accidental mistake did a nice 3D effect to my new Logo, is there any way to convert or import a CSS3 code to illustrator so I can have it as .SVG?
1
vote
0answers
643 views

How to create an array of circles within a circle

I'm looking to place exactly 750 filled circles in a random array within a circular shape, essentially a static version of this infographic: ...
0
votes
2answers
114 views

Script to nudge by 1/10 in Illustrator

I wrote a script to nudge by 1/10 in Illustrator (like in InDesign). It works, but only for the whole object, even if I only select some anchors. Is there a way for it to work as well when only ...
0
votes
1answer
1k views

Illustrator script - create objects, rotated and centred with a selected object

Edit: Oops, it's working! It seems that the problem has been solved by loading the updated script via File / Script / Other File... option. Before the stroke width change wasn't affecting the ...
2
votes
2answers
1k views

How to create a vector curve programmatically?

I want to create a vector curve that is symmetric in the top and the bottom. For example, in this baseball icon (How to draw a baseball in Pixelmator?), if I try to write the vector as suggested by ...
2
votes
1answer
433 views

Automating file export with different colored objects and file names

I’ve been working with Illustrator CC 2014 on a floor map for a ~400 rooms building. To allow visitors to find rooms more quickly, I wanted to generate a series of images with highlighted rooms. The ...
0
votes
1answer
364 views

set active artboard by name in illustrator?

There is getActiveArtboardIndex and setActiveArtboardIndex, I can get the Artboard object with getByName. But how do I set active artboard by name? Or at least get index from the Artboard object?
2
votes
1answer
2k views

Toggle Illustrator Layer visibility?

I am looking for a way, preferably one that can be triggered via keyboard shortcut, to both toggle the current layer to visible/hidden and to be able to toggle a specifically-named layer ...
0
votes
2answers
543 views

Illustrator script to export eps files to black/transparent only pngs

I've modified a script I found for Illustrator to allow me to convert multiple folders full of EPS files to transparent PNGs and it does a fantastic job. The part where I'm stumped is in finding out ...