Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Browsing all 12845 articles
Browse latest View live

How to sort objects alphabetically (inside of a layer)?

How to sort objects alphabetically (inside of a layer) on layer list?I have already tried scripts for Layer sorting. They work indeed for the layers, but not the objects themselves packed inside.

View Article


Importing CSV and TXT files as Illustrator datasets: VariableImporter.jsx

Just in case any body would like to have the ability to import .csv and tab-delimited .txt files into Adobe Illustrator as datasets, (similar to Indesign's Data Merger), here is a tool which will help...

View Article


Anti-aliasing Type Optimized/Art Optimized on PNG export

Hello there, I'm modifying a javascript that makes an export of each layer contained in an Illustrator document and I want to specify the method used for anti-aliasing (either Type Optimized or Art...

View Article

fill color using a script.

I'm trying to create a script in CS5 mac os10.6.8 that will change the fill color of selected pathItems. I need a simple script that will change a selected pathItem to cmyk values 2,3,15,0. I will then...

View Article

$.fileName from ExtendScript

I think this one is a bug, maybe introduced with the latest Illustrator CC 2014 update... This is Illustrator CC 2014 running on Windows 7. I have a simple script like this:#target...

View Article


How to name a text frame to use textFrames.getByName?

I think it's a pretty straightforward question, but I can't find any examples explaining how to name the text frame so I can use the getByName functionality. Right now I am using a for loop to go...

View Article

How to name a text frame to use textFrames.getByName?

I think it's a pretty straightforward question, but I can't find any examples explaining how to name the text frame so I can use the getByName functionality. Right now I am using a for loop to go...

View Article

Unembed All Images?

Hi everyone, I was just wondering if there could be a "unembed all images" script out there. I have a pdf previously created in Word that I've imported into AI CC 2015 and need to create links out of...

View Article


Render swatch Legend Script

I was wondering if someone could help me edit this Script Written by John Wundes. Its almost perfect for what i need, but my problem is the text box inside of the swatch when it is rendered is to...

View Article


Need script to batch convert vector .eps to .png images with scale

Hi, I'm looking for a script/program that if you run it, all the .eps files in a folder will batch convert to a png-24 with 250% scale. Erdem

View Article

Issue opening jpg in Photoshop from Illustrator script

Hi all! I have a javascript file that I use in Illustrator to export a collection of jpegs, and then open those images in Photoshop to be resized. This all worked great in CS5, but when we swapped over...

View Article

executemenucommand for Document Color Mode

How to executemenucommand for Document Color Mode in illustrator using Javscript

View Article

Image may be NSFW.
Clik here to view.

Help with cleaning up array of pageItems, please.

Hey folks. I have a question that only loosely pertains to illustrator, as I think I'm just missing something really obvious in basic JS logic.. I've written a script to create artboards for me that...

View Article


Copy artboard to new document

I have a document with multiple artboards, I'm trying to loop over them and copy each to a new document (sized to the original artboard). There is just one piece of text in each artboard. It's working,...

View Article

ArtboardRange Question

I'm having an issue with saving out SVGs, I've stripped it down to the code below.. My end goal is to loop through multiple artboards in a master document and save out SVG files for each. Looking at...

View Article


Image may be NSFW.
Clik here to view.

Centralise an off-centre design by using a rectangle larger than the design...

Thanks to the help of kind people on this forum I have a script thatdoes everything I want it to do on about 99% of all designs I haveto deal with.  The other 1% would be those which are not in...

View Article

Relative Stacking order of Sub Layers and items

I want to get the items in a layer sorted in their stacking order (including any sub-layers). For example:  Layer 1   item A   Layer 1a   Group B   item C In the example above, I would get back an...

View Article


Scripts: Select an object with a note, duplicating and applying swatch

I am trying to write a Javascript that can do the following:  1) Select an object whose note has <Object Name> (so its layers is also selected)2) Duplicate the layer of that object3) Rename the...

View Article

Batch replace color with another color

Hi, I would desperately need some assistance in trying to accomplish batch editing of ai-files via JavaScript.What I would need to do, is go through a number (many!) of files, find items with certain...

View Article

How can i save pdf changes through Jsx in illustrator?

I stuck on saving PDF document to save changes, i don't know why illustrator is not supporting it for PDF, when i execute app.documents[0].save() , it creates an .ai file on the same path where  PDF...

View Article
Browsing all 12845 articles
Browse latest View live


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