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

Image may be NSFW.
Clik here to view.

Rename the layer using the name of the enclosed object

I'm trying to build a map of the world that includes provinces and sub-provinces (counties).  I will be animating it in AE. AE only sees the top layers so it is imparative that the name of the top...

View Article


importPrintPreset, is it broken?

Hi everyone, has anyone had any luck with importPrintPreset()? I can't get it to import any presets, I get no errors, it just doesn't do anything... var idoc = app.activeDocument;   var file = new...

View Article


Shear / Skew using shear angle and axis angle

Hi,  I want to skew/shear the selected object using shear angle and axis angle. I am using below code for shear the object, var skewMatrix = app.getIdentityMatrix();skewMatrix..mValueB = .5 But i dont...

View Article

JS - Center Selection to Artboard / New Document with certain Artboard size

TL;DR:how do I center my current selection to the artboard?just like hitting the "horizontal align-center" and "vertical align-center" buttons.  Hi, I've been searching for the last two hours and...

View Article

Applying Style Effects with vba script

Hello, I've been doing a lot of scripting with VBA to create data driven graphics with good results so far. Now I want to try and fancy things up a bit. For example I'm trying to add an Effect to an...

View Article


Image may be NSFW.
Clik here to view.

Filled area on left or right side of path – make path clockwise - reverse path

Hello, for a script I'm writing, which will select path points at specific angles (all angles with less than 180°) I need to know, if the inner part of my shape (namely the filled area) is to the left...

View Article

Strange crash after exporting PDF...

I have a script with the following at the end: var pathName = "~/Desktop/salesChartEMC.pdf";var saveName = new File (pathName);saveOpts = new PDFSaveOptions();saveOpts.compatibility =...

View Article

Image may be NSFW.
Clik here to view.

Put objects on artboard that are enclosed by a path in one layer

I have several maps of the world with various adminstrative boarders. The states/provinces their own sub-layer but the counties/districts are not within layers of the corresponding state/provinces in...

View Article


Select ALL objects directly below an object

Is there a way to simply select all object directly below an objects? I found this script here but it doesn't seem to work.  Any ideas?  //DESCRIPTION:Select Below// A Jongware Scriptif...

View Article


Show color picker dialog JSX / CSAW

Can someone guide me on how to show the color picker dialog in Illustrator programmatically?In photoshop that's really easy, just:      app.showColorPicker(true); In Illustrator I couldn't find any...

View Article

Image may be NSFW.
Clik here to view.

illustrator Spiral Shrinking/Growin text, scaling down/up on spiral path

First of all thanks in advance for anyone who may assist, or make this even possible...... (please contanct me ADAM    razo.ad1985     --->G.mail) In dire need of expertise assistante. Years ago I...

View Article

Color Swap Between Libraries: Is this Possible?

I work with a large number of Illustrator files daily that all use the Pantone Solid Coated library for their swatch color scheme. This color library will be used whether customers provide the art...

View Article

Illustrator Timestamp

Is it possible to create a script for Illustrator that would "timestamp" the file when edits/changes have been made?

View Article


Script to add an artboard

What is the javascript to add a new artboard to an existing Illustrator document?

View Article

AI Scripting Online Resource?

Hi - I have a CS6 script written to drop a die line on top of a JPG then save the file as an AI. It's clunky and needs optimizing. Is there a source online for finding solid scriptors that can help? A...

View Article


illustrator CC ScriptUI addEventListener('click', …) doesn't work.

Hello,  It just a report for others.I tried to catch 'click' event on Button of ScriptUI through 'addEventListener' on illustratorCC.However it doesn't work.  CS6 and under the version,  it works well....

View Article

Can I set Actions Default Playback Options to Step x Step

We're running a script that requires this to be set to Step x Step by default, does anyone know a way for this to happen? Tx much, Scott

View Article


quick syntax question

in the extendscript documentation it says you can assign a name to UI elements at creation like the example given below dlg.btnPnl.cancelBtn = dlg.btnPnl.add('button', undefined,...

View Article

Applescript & Scaling

Hi All, I have a pretty basic applescript that I wrote that sees a selection made in Illustrator and scales the artwork to a specific percentage based on a few variables. The script works great,...

View Article

TRY CATCH not working

Hi All, I am trying to add spot color in illustrator using javascript, TRY CATCH is not woking, it is adding again and again same color value with name of "spot color 1" and "spot color 2" ...can any...

View Article
Browsing all 3671 articles
Browse latest View live


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