Adobe Illustrator: methods and scripts for automation and alterations by programming language.

learn more… | top users | synonyms

1
vote
1answer
26 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
25 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
53 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
35 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
30 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 ...
0
votes
0answers
36 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
36 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
78 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
72 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
315 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
161 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
108 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
148 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
193 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
7k 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
0answers
115 views

Illustrator - export always anti aliased

Anyone know why this basic JavaScript always results in an anti-aliased export as PNG? if ( app.documents.length > 0 ) { var doc = app.activeDocument; var exportOptions = new ExportOptionsPNG24(); ...
3
votes
2answers
2k 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 ...
4
votes
2answers
869 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
3answers
505 views

Can Adobe Illustrator .jsx scripts include other script files?

We're writing a bunch of .jsx scripts and in each 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 top of ...
4
votes
1answer
608 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
350 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
2k 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
268 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
992 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
4k 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 ...
9
votes
3answers
12k 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?