Tagged Questions

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

learn more… | top users | synonyms

1
vote
0answers
48 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
25 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
74 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
0answers
17 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
57 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
1answer
67 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
46 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
239 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
203 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 ...
4
votes
3answers
432 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
79 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"
0
votes
1answer
60 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 ...
1
vote
1answer
109 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
163 views

Adobe Illustrator script to duplicate objects and change its color

Basically I needed to build colour charts for a huge number of colour in my colour palette. I have a group of elements which consists of solid fills, gradients, text, stroke...etc and everything here ...
3
votes
1answer
166 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
193 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
51 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 ...
2
votes
2answers
291 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 ...
1
vote
1answer
102 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 ...
2
votes
1answer
408 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 ...
0
votes
0answers
35 views

Tightly fit / arrange / organise multiple objects within a selected shape without overlap [duplicate]

I am trying to fit a bunch of objects (outlined letters) into a simple large shape. I have randomly resized and randomly rotated them as shown in fig below on left side. Eventually my aim is to fit ...
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?
0
votes
1answer
108 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
724 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 ...
3
votes
2answers
252 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
1answer
154 views

How to get an object style in Illustrator scripting?

I'm writing a script to automate scene states. I using graphic styles to change appearance. How do I get object's graphicStyle? Is there a way to have a collection of objects of chosen style?
3
votes
3answers
336 views

How to repeat the last run script in Illustrator?

If I run a script, is there a way to run it again without doing File|Scripts|My_script?
0
votes
1answer
329 views

Looking for an illustrator script to export without anti-aliasing

I'm looking for a workaround to export raster without anti-aliasing. ExportType.PNG 8/24 with exportOptions.antiAliasing = false export with anti-aliasing. The only way I know is to export manually ...
7
votes
3answers
16k 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 ...
3
votes
2answers
4k views

Illustrator: Auto-sized Text box with shaded background?

I frequently create labels that follow the same format: white text on a 75% opaque black background, with 10px of margin around the text. Currently, I have to manually build these labels, which takes ...
5
votes
2answers
3k 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
767 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
1answer
879 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.
2
votes
1answer
556 views

Illustrator - Print copies with sequential numbers

I have an Illustrator document, which has a text field with a number. How do I print X copies of it, so each copy has a different sequential number on it, say from 0000 to X ?
0
votes
4answers
3k views

Extract image x/y coordinates and width and height info from PDF via IL or PS

We have a professionally designed floor plan in PDF form for an event we are running currently. It is similar to a CAD drawing. We have booths (rectangular squares) drawn on it. I have a colleague ...
-1
votes
1answer
352 views

Re-Recording Actions in Illustrator

I frequently record Illustrator Actions. My actions are quite long, but they all involve three common steps: Assigning Notes to shapes Assigning Swatches to shapes Selecting shapes that have a ...
3
votes
1answer
1k views

Illustrator scripting: resize that works like transform tool in illustrator

I'm writing a script for Illustrator CS5 to resize my artwork (and artboards and a whole lot of other stuff in a batch). I'm having severe issues with the javascript functions resize() and ...
1
vote
3answers
6k views

image in illustrator compression script

I have a very High resolution image in illustrator, which leads to a very heavy eps file size, I'm asking for a batch tool or a script to compress the eps image , in other words reduce its resolution ...
10
votes
3answers
16k 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?