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
6
votes
2answers
4k 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 ...
3
votes
2answers
2k views

Distribute objects optimaly

So I've got a file with loads of simple objects. This will later be used to cut out these shapes out of plastic. So, using the material optimally is of outmost importance. I was wondering if there is ...
12
votes
4answers
12k 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 ...
17
votes
5answers
7k 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?
5
votes
3answers
11k 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 ...
2
votes
1answer
581 views

Isometric bulging grid

I'm trying to make an isometric version of this The bulges and the dips aren't too hard themselves, however I'm struggling to find a way of warping the isometric grid lines in the right way Does ...
1
vote
2answers
840 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 ...
6
votes
1answer
3k 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 ...
3
votes
2answers
471 views

Create 2 morphable SVGs

I am trying to create 2 SVGs that can be morphed from one another in order to use them in an Android app. However, the requirements are rather strict: The 2 SVGs (from and to) must have the same ...
2
votes
3answers
3k 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 don'...
0
votes
1answer
853 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, ...
-1
votes
4answers
4k 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.
11
votes
6answers
87k views

How can I create a tight spiral shape? (Archimedean spiral)

I'm trying to create something similar to this example: What tool should I use, or is it just squares and circles attached together? Great if you know a tutorial for this effect.
30
votes
15answers
206k 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 ...
26
votes
4answers
58k 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?
8
votes
1answer
1k 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 a ...
5
votes
2answers
2k 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 ...
4
votes
2answers
2k views

Illustrator scripts disappearing from Actions

I've created Actions that include scripts (by using Insert Menu Item). I managed to get the scripts to show up in the menu by adding them to the folder ~\Presets\en_US\Scripts in my Illustrator ...
2
votes
4answers
2k 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 " ...
4
votes
1answer
2k 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 ...
3
votes
3answers
390 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?...
2
votes
5answers
27k 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 ...
2
votes
3answers
1k views

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

As shown in the following image, how can I change the color of "Ms" or "Mr" in one go? Is there any existing function that can be used or is it possible to script?
15
votes
2answers
82k 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 ...
2
votes
1answer
2k 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 ...
9
votes
4answers
17k views

Replacing multiple objects with other objects in Illustrator

I am working in Illustrator CS5. I want to select 100 objects (circles) and replace each of them with a 100 other various objects, each circle being replaced by one of the various objects, keeping the ...
7
votes
3answers
18k 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 ...
3
votes
3answers
1k 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. ...
3
votes
3answers
10k 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 ...
1
vote
1answer
3k 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
3answers
119 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'...
7
votes
1answer
3k views

Run Illustrator script on multiple files

Is there a way to make an Illustrator script run over all files in a certain folder and perform operations on these? I am using CS5 on mac.
4
votes
2answers
15k views

Illustrator action to embed all external objects

To embed all external objects in Illustrator I do this: Open the Links panel Select all the linked objects (select first, shift+clik on last) Select Embed object(s) from the dropdown menu in the ...
4
votes
1answer
1k views

Outline Dashed Line Stroke: How to order objects?

I'm trying to use Outline Stroke on a dashed line but it creates a bunch of objects that cascade down to both sides, like so: Is there a way to make Outline Stroke follow one direction through the ...
3
votes
1answer
7k 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 visible/...
2
votes
1answer
528 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 ...
2
votes
2answers
803 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
1answer
5k views

Connecting dots on Illustrator

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

Illustrator error on switching variables data sets

My company sends PDF reports to clients from data we export from another program. I made a very simple batch export process in Adobe Illustrator by simply assigning variables to our PDF, exporting ...
1
vote
1answer
2k 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 ...
1
vote
1answer
1k 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 ...
1
vote
2answers
672 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!
0
votes
2answers
421 views

How to warp an image to take shape of truncated pie (controlled by some input parameters)?

I am new to Photoshop/Illustrator. I would like to warp an image like the attached truncated pie. Assuming this truncated pie is part of a circle, then outer radius of curvature should be 15 units ...
0
votes
2answers
925 views

Rotating a layer around centre and save file (72 times)

I need to rotate a graphic I have made in Adobe Illustrator. The complication is that only the arrow layer needs to be rotated (around the centre of the image). That rules out simply throwing the ...
0
votes
3answers
167 views

Create new layer by extending length of existing arc

Is there a simple way of keeping the shape of the existing arc while changing its length? In other words, I would like the ends of the arc to extend further while keeping the same shape (if that ...