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 ArticleCapture 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 ArticleExpand / 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 ArticleRemoving 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 ArticleSVG-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 ArticleSelect 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 Articletrouble 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 ArticleScript 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 ArticleSetting 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 ArticleMultiple 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 ArticleExportOptionsTIFF 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 ArticleCreating 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 ArticleCalculate 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 ArticleCS5 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 ArticleRGB 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 ArticleScript 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 ArticleExport 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 ArticleRGB 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