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

Changing the colour picker to another colour via script

How can I change the colour picker fill and stroke to another colour via script?

View Article


Image may be NSFW.
Clik here to view.

Capture Drop event

Hi, The last couple of days I've been exploring the CEP extensions in order to do a simple task.In the samples I find a lot of drag&drop information when dealing with custom panels but my case is a...

View Article


Expand / Collapse Treelist

Hey! Preface: I'm running CC (19.2.0 64-bit) on Windows. I am working on a script with a TreeView list and got hung up trying to figure out a way to Expand / Collapse all the items. Expanding was...

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

SVG-files into one layered AI-file

Hello good guys!Although I'm new to scripting Illustrator, I'm looking for a script that can help me – and merge 10 SVG-files into one layered AI-file. I get a lot of projects which contents 10...

View Article


Select part of point text objects matching a regex expression

Hello! I'm looking for a way to run through a bunch of point text objects and select part of the string in each text object based on a regex expression. I found this awesome script that can do a regex...

View Article

#include all files in a given folder

Hello there, scripters! As often happens, I came here to ask you guys a question about how to do something I wanted to do, and in the process of trying to describe the problem, I figured out the...

View Article

trouble with search and replace

I receive text documents from word which are a mess. I need to clean them before they go into the next stage of my workflow. I have a great script which cleans all of the text and it works fine, except...

View Article


Script to Make all text Dynamic

Is there a way or a script that will make all the text on a page Dynamic? At the moment we have to select each text box and press 'make text dynamic', which can get tiresome with a lot of text boxes....

View Article


Image may be NSFW.
Clik here to view.

Setting the bleed in AI via Javascript

Hi All, I'm writing a function to change the artboard size and add bleed depending on certain conditions.I can't actually believe this is causing me trouble but here it is, I'm trying to set the bleed...

View Article

Multiple artboards to multiple PDF's

I have over 300 different ai files with about 50 artboards in each one and need to export each artboard to a separate PDF file.  I'm on a windows machine so the script would have to be JavaScript.  Is...

View Article

ExportOptionsTIFF not listening to my instructions!

I have discovered yet another inconvenience, and I hope someone may tell me what I am doing wrong.Using the export TIFF command from an Illustrator document, I am hoping to produce a .tif with 600dpi....

View Article

Image may be NSFW.
Clik here to view.

Creating a dynamic action to use with app.doScript() method.

Since building dynamic actions is a topic unto itself, we often search for a reference thread to show somebody how to do this - and we often do so while trying to discuss work which is already involved...

View Article


Image may be NSFW.
Clik here to view.

Calculate total area of group ?

How can I calculate the total area of a group selection ?  As well If a group had numerous squares and when moving one of these squares you would replace it with another square of close to equal size;...

View Article

Image may be NSFW.
Clik here to view.

CS5 on Yosemite ESTK performance

This is a very specific scenario: I'm running legacy CS5 on the new Yosemite OS on my Mac laptop, with the Java Runtime 6 making it...

View Article


Color Group in Swatch ?

How do you access a color group within a swatch ?

View Article

RGB to HSV script to clear up.

Hello everyone. Found 2 scripts for RGB to HSV conversion and stucked there.  #1 SCRIPT function RGBtoHSV(r, g, b) {    if (arguments.length === 1) {        g = r.g, b = r.b, r = r.r;    }    var max =...

View Article


Script to set artboard to selected art, etc.

In my new work I REALLY need to learn Javascript for AI. I am trying to read through the official guide but am impatient. Can someone create a script that would: Create rectangle based on user inputSet...

View Article

Image may be NSFW.
Clik here to view.

Export Sublayers to JPG

Hello, I'm trying to find a script that can export sublayers to JPG files. I did find some scripts that work but they only look at the top-layers, not at the sublayers.My Illustrator files looks like...

View Article

RGB to CMYK, SPOT to PROCESS

Hi All, After a while I need a script in Illustrator. I need to change all RGB to CMYK and Spot to process. All the converted colors need to flag in a text file.  It is easy in Indesign, little tedious...

View Article
Browsing all 3671 articles
Browse latest View live


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