Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing all 3671 articles
Browse latest View live

How do I batch-rename objects/paths (not just layers)?

Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name,...

View Article


Snap every point to grid

Sometimes I need every point of my working path to be snapped to document grid.Right now I have do it manually — cycle every point and type new rounded coordinates or turn on snapping to grid and drag...

View Article


Convert 'almost smooth' and 'actually sharp' points to real ones

Sometimes in my work I see points-liars of two kinds:1. Point which seems to be smooth — the angle between it's handles is very close to 180 degrees — but actually it is not. I guess there could be a...

View Article

How do I copy the path name from the layers panel to the center of the...

For Instance, I have a map of the United States.  Each state is a path and has been named in the Layers Panel.  I now want to generate the state name from the layers panel so it is automatically...

View Article

Is it possible to Close All without Saving?

Of course I can do Control-Alt-W (WINDOWS) to close all but the pop-up Save? dialog interrupts my rhythm and I need a script that allows me to Close All -> No Save. I have tried an Action where I...

View Article


Image may be NSFW.
Clik here to view.

Another frustrating printing question

So one thing I just realized is that your print options do not go through until you use the print() method. This is very frustrating because I do not know what kind of Inks are being printed for the...

View Article

Image may be NSFW.
Clik here to view.

Adobe Illustrator Tags

I have noticed the tags object is available to the document object, the pageitem object. Does anybody use these, and is there an example of using the 'tag' which someone would be willing to share for...

View Article

How to export multiple vectors drawing from a single file to separate .ai or...

I got hundred of .ai files that themselves contain over 50 drawings. Theses drawings are grouped path separated on the main artboard. I wonder how I can manage to get those singles objects to be...

View Article


Printing book/lab spot colors 'Not Implemented' error

Hello everyone, back again haha, same script.  Every once in a while I would get a non implemented error when I tried to print. I was able to narrow it down to exactly what was causing the problem, the...

View Article


Image may be NSFW.
Clik here to view.

Selecting objects by fill color

Hi guysIs possible to select objects by color in CMYK using JavaScript?All I want to group several objects with the same fill color. Many thanks for your time... Please see the picture bellow... 

View Article

Applescript Save as PDF Error on 10.11

Hi, I have an Applescript application that populates an Illustrator PDF with data and colours and then saves the document to the desktop as a PDF, named a certain way.  I have just upgraded to Mac OS...

View Article

resizing or moving an opacity mask along with the items inside it

I'm trying to resize a opacity mask by doing transMaskItem.resize(  10, //scaleX,   10, //scaleY,   true, //[,changePositions]  true, //[,changeFillPatterns]  true, //[,changeFillGradients]  true,...

View Article

Execute Shell Scripts from ESTK

Hello again, friends. I've been writing a script that takes team/roster information from a sales order and inputs the information into the artwork i've already created. I've got the script working just...

View Article


file.execute()

i found this very interesting.in this example sel0 has to be a placed file.file to execute can be anything you want.works for windows.Batchfile for apple?I don't knowchris var sel0 =...

View Article

Image may be NSFW.
Clik here to view.

File.rename on Mac :/

Guys... I have this code, it works on Windowsperfectly renaming the files.I have tried to make it work on Mac but I couldn't. Is doesn't display any error / alert.What am I doing wrong, why doesn't it...

View Article


Artboard Range not working

Hi, I've got a really strange problem. When I use the "Save As", "Artboard Range" for PDFs when opening in Illustrator all the artboards display, but in Acrobat only one displays. It gets stranger:If I...

View Article

How to align items (groupItem) with clipping masks?

I have a script that aligns an groupItemToBeAligned on one layer to another referenceGroupItem on another layer, so far so good. Problem comes when the groupItemToBeAligned consists of items that have...

View Article


Image may be NSFW.
Clik here to view.

Removing Empty Sub Layers.

Hi All.  I've been all over the internet and haven't seemed to find my solution.  Hoping someone on here has a solve.   I'm looking for a script that will delete not only empty layers but will identify...

View Article

Image may be NSFW.
Clik here to view.

Create group

Hi, I want to create a group of all elements in dartboard and name it "Sticker". Also I want to rename "Layer 1" to "Preview", how can this be done? Thanks in advance. Greetings,Robin (an Illustrator...

View Article

Image may be NSFW.
Clik here to view.

C2 color profile issues

We have a script that automatically places jpgs into illustrator files by updating the file a placed item is linked to. But any time a JPEG with a "c2" color profile is encountered, Illustrator throws...

View Article
Browsing all 3671 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>