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

Script that gives specific names to layers - from bottom to the top

Hi, This is probably an easy one for anyone with JavaScript experience.I have 35 layers that I want to give specific names to (now they're named liked "layer 1, 2, 3" - but sometimes this won't be...

View Article


Ai Packaging Script

Ok.. I'm sure this has been posted before (already searched, didn't find however), but does a file packaging script exist for AI? (one that collects all linked images and fonts and places them in one...

View Article


How do I target different version of Illustrator?

Using #target Illustrator from the toolkit want to open in AI 17.  I have both 17 and 18 installed but want it to run in 18.  How can I target each with the directive?

View Article

Transform all the Objects

How to transform (scale 50%) all the objects. Note: is it possible without loop all the page items?

View Article

How to detect resolution with which file started?

Resolution may be modified and the i'm interesting in actual resolution.

View Article


Create artboard around group, unless there's a clipping path, then create the...

Hello again everyone. I've been able to work out a bunch of this code from other people's questions, but i've hit a snag in my if/else clause structure.. I need to make an artboard around each top...

View Article

using Javascript and ScriptUI to create a form that brings in a symbol from...

Hello everyone, I've been trying to pull together the right info to use javascript to create a form to bring in particularsymbols from the symbol library based on the variables taken from the form....

View Article

[Javascript] How to trim/crop an image for export

Hey folks, Got lucky with an answer the first time, thought I'd try again.  In Illustrator CS5+, I'm looping through the objects in a document, exporting each of them to an image using...

View Article


Convert Image Using Script (JSX)

Hi All, I want to convert a AI file into a JPEG by using JSX(java script)i am able to change its file type but having some problem with resizingcan anyone please suggest me some solution. Thanks

View Article


ungroup all groups on an active layer(JavaScript).

Does anyone know how one would go about ungrouping all groups on an active layer with JavaScript?

View Article

Revert document?

Anyone know how to revert (or re-open) a document at the end of a script? Cheers

View Article

Image may be NSFW.
Clik here to view.

Compare pathItem.fillColor to no fill

I am running a simple script that checks a certain layer for any circle that is not colored properly.I have 4 circles and 1 line on my test document. I am checking to see if any items on a specific...

View Article

How to rotate a art board in a illustrator using adobe extended javascript

How to rotate a art board in a illustrator using adobe extended javascript  how to create mirror image of each textframe content of artboard

View Article


Assigning Text Fields Variables via VBScript

I'm looking to complete the first challenge of my project of repopulating text fields with translated text automatically.  To do this I need to pull the text down from an Ai file.  However, each text...

View Article

Illustrator VBA scripting 101 - via Excel

This post will attempt to introduce newcomers to Illustrator Visual Basic Scripting (well, not actually vbs, but rather tru VBA, Visual Basic for Applications). I personally prefer vba over bvs for a...

View Article


Excel data to construct illustrator object

Problem:How to read real number data from selected columns in an Excel spreadsheet into an illustrator javascript array variable, so that then I can use this information to construct an illustrator...

View Article

Script path arrows

I cannot seem to find a complete description of the Adobe Illustrator object model, only the scripting guides, which are a good start but seem to provide only a partial list...does one exist?  My...

View Article


Finding bounds of nested clipping paths...

This topic has been touched on before, muppet & sonic have pointed me in the right direction, but I'm stuck right now.... Seeing as how "saveMultipleArtboards = false" is broken in CS4, and...

View Article

Image may be NSFW.
Clik here to view.

Fix Space (not in starting of line)

Hi All, I am new to Illustrator Scripting. But I am from Indesign Backround. First script in Illustrator Request:1. Need to fix the double or more space into single space. 2. But need to retain in the...

View Article

Batch saving AI files as low res PDF's

I need to find a way to convert a LOT of ai files, individually, to low res pdf's. Preferably with the presets I want, not some defaults. I'm not interested in an action. I was hoping for a droplet,...

View Article
Browsing all 12845 articles
Browse latest View live


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