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

learn more… | top users | synonyms

1
vote
2answers
32 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
103 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 ...
2
votes
1answer
62 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 ...
12
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
1answer
924 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 ...
0
votes
0answers
34 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 ...
2
votes
2answers
740 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 ...
0
votes
0answers
63 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 ...
0
votes
2answers
68 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 ...
11
votes
4answers
23k views

Convert text to paragraph text in Illustrator

Is there any quick way to convert text created at point (automatically resizable boundaries) to a area (paragraph) text (with fixed boundaries) in Illustrator CS3?
2
votes
2answers
168 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).
14
votes
10answers
80k views

How to set the rotation point and use Transform Each in Illustrator?

I have a triangle I'm trying to rotate in Illustrator using the Object->Transform->Transform Each command, but I can't figure out how to set the rotation point like I can if I just use Free ...
1
vote
2answers
99 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 ...
1
vote
0answers
40 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 ...
0
votes
0answers
31 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
votes
4answers
195 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.
1
vote
1answer
75 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 ...
0
votes
1answer
131 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 ...
-1
votes
1answer
121 views

Is there a way to create an action or script to select and embed external file(s) placed in an Illustrator file?

As a follow-up to my question Is there a way to expand linked EPS file placed inside another EPS file in Illustrator? I am now trying to create an action to select and embed external file(s) placed ...
-2
votes
1answer
262 views

Connecting dots on Illustrator

Is that possible to connect dots in Adobe Illustrator, automatically? To do something like this:
2
votes
1answer
99 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
124 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
214 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 ...
1
vote
3answers
306 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 ...
1
vote
2answers
1k views

How to export large amount of objects to separate images in InDesign?

I have this photo album with two layers, layouted in InDesign (CS6): On the first layer I have all the graphic elements (the gras and the yellow elements) On the second layer are portraits (the ...
0
votes
0answers
53 views

Changing the font size across multiple Illustrator files

I know this is possible after looking at a question posted a few years ago: Replacing a font in many illustrator files However, I'm completely useless when it comes to scripting. Can someone please ...
4
votes
2answers
377 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 ...
3
votes
2answers
740 views

Repeatingly increase an object size with certain amount of px

Fairly new to AI, certainly to scripting. I'm trying to recreate this poster: The problem I'm having is that I want to automate the creation of the large amount of circles. I want to record an ...
1
vote
1answer
129 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 ...
0
votes
1answer
82 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 ...
2
votes
1answer
266 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 ...
1
vote
1answer
36 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?
0
votes
1answer
202 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?
1
vote
0answers
483 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: ...
2
votes
1answer
993 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 ...
9
votes
3answers
29k views

How to export Illustrator layers as individual images?

I have an Illustrator file that contains patterns. I'd like to export each pattern as an individual image to use in this new program that I'm trying called Sketch. Is there a batch processing script ...
0
votes
2answers
426 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 ...
3
votes
3answers
1k views

Can I include / reference external scripts and libraries within my Adobe Illustrator .jsx script?

We're writing a bunch of .jsx scripts, and in each one I have to mock out some functions so I can use things like Array.map() and String.trim(), but I don't want to have to include that code at the ...
4
votes
3answers
2k views

Import vector data into illustrator

I have a program that generates thousands of vector points (just coordinates), the format is not fixed, but it could be something like this: (2.4785|77.01) (78.8|9.88) (45.33|0.2) I am able to ...
0
votes
0answers
176 views

Apple Script Delete Swatches and add new swatch

How do I create an Apple Script that deletes all unused swatches and all color groups and adds one spot color swatch named "CutContour"
2
votes
2answers
534 views

Applescript for Ai CS6, color set and get

This is the last time I ask the question about Applescript - I see that this topic is unpopular since none of my questions has been answered. Probably I'm on the wrong way, but scripting for ...
3
votes
1answer
346 views

Automatically save a jpg along with AI file?

In Photoshop we have "Save Extra JPEG" in Script Event Manager which saves a jpg automatically with the psd file. Do we have something similar in Illustrator?
2
votes
1answer
325 views

Illustrator CS6 Actions

Is there a way to create an export action in Illustrator where each time the action is run, it asks for a location to export to? I work on multiple projects where the exported JPEGs need to go into ...
0
votes
1answer
74 views

Are groups in Illustrator included to “items on page”

I need to perform via applescript some action on all items inside the Illustrator document apart of groups. When I set my counter as "repeat with i from (count page items of current document) to 1 ...
1
vote
1answer
219 views

Is it possible to create by Applescript a new Illustrator document with other name than Untitled-*?

I've tried this applescript code for Illustrator CS6: tell application "Adobe Illustrator" make document with properties {name:"anyName"} end tell but couldn't affect the name of newly created ...
5
votes
2answers
5k views

Export objects to separate files in Illustrator

Is there a way to export objects to separate files in Illustrator? The output I want is AI or vector files, not raster images. The objects are not on separate artboards, and I am looking for a ...
1
vote
0answers
22 views

Is there a script that can list the fonts used in hundreds of ai files? [duplicate]

I have several hundred packaged .ai files but I need to know all of the fonts used is there a script or something that can generate a list of all the fonts?
3
votes
2answers
409 views

How to get an Illustrator script to see the visible size of clipped art instead of the art's orginal size?

When I use an Illustrator script using visible bounds or selection size on clipped art, the script sees the original size of the clipped art as the groups's size instead of its visible (clipped) size. ...
0
votes
1answer
171 views

Can one create a Photoshop or Illustrator script that can see what functions & commands a user is executing? [closed]

I would like to make a Photoshop and Illustrator plugin that can tell what commands and functions a user is executing and then store that information in a database or file. Is this possible in the ...
5
votes
2answers
1k views

Illustrator: Scale all strokes in a document without touching object and pattern size?

I have an illustrator file (actually it's a map) which has lines, polygons and some patterns. I would like to scale the stroke width of all lines (also lines inside patterns) by 80% without altering ...