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 ArticleHow to script the 'Export as...' feature?
I want to export artboards as PNG files in a JavaScript. In the past I used the ExportOptionsPNG24, but font comes out fussy in small sizes.Is there a way to script the export-as-feature in...
View ArticlePrinting in a PDF with Filename - Folder and Filename are ignored
With a script for Illustrator I try to make the printing-process for our staff easier. They need to specify different Folders for A4 and A3 PDFs. First thoughts: I have Illustrator-Files with different...
View Articlebatch find & replace text in Illustrator files in a folder?
I found this script which work greats on any currently open Illustrator files, but I would like it to be able to run the action on a Mac OS folder, open the first Illustrator, runs this javascript,...
View ArticleNewbie at Illustrator scripting needs help assigning image
I am trying to copy a graphic stored in a vb.net picturebox.image into an activeLayer of an illustrator document. Can anyone supply me with code as to how to do it. Also is there a way to lookup a...
View ArticleRetrieve whats in the clipboard possible?
Is it possible to retrieve whats in the clipboard through a script?If so how?
View ArticleHow 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“Fit All in Window” using JavaScript
I've recently started scripting in Illustrator and having a little problem. When creating a document through File tab, (File->New, Print, Letter) the created document is positioned at (0,0) and the...
View ArticleScript: rename layers?
Hi, is there a quick way how to renumber or batch rename all layers in a file so they would be named in consequent numbers? Doesn't have to start from exact number, I was wondering if maybe there is...
View ArticleGenerating preview for all pageItems, layers, groups, etc. for a rebuild of...
Hey guys, I can finally post on the forum again after a server issue prevented me from logging in. I recently made a near-complete and open source rebuild of the Layers panel with added features like...
View ArticleResize Artboard
Unsure if Im asking in the right spot but is it possible to automate the resizing of the artboard say from A0 down to A1
View ArticleApplescript: Removing Groups and Layers
This should be a simple task, but I still haven't figured out how to do it. I have a set of page items, and the are contained in groups inside of layers inside of layer inside of layers.How can I...
View ArticleSimple InDesign script -> Illustrator help
I have this script by Peter Kahrel that reverese the order of letters in InDesign. I need an Illustrator version of it. Can anybody help? ---------------------//ReverseText.jsx//An InDesign Javascript...
View ArticleScript for closing the open paths on Illustrator CC2015
Can someone give me a script to close all the open paths on Illustrator CC2015 ? Thanks.
View ArticleHow to link with any function to any Script UI (user interface) using javascript
How to link with any function to any Script UI (user interface) using javascript
View ArticleScript Adding text to Multiple layers and add property in Attributes Panel
What I'd like to do is create a JavaScript to add text to multiple layers, give the text no stroke and no fill, and enter text into the Attributes Panel.As you can see in my screen shot, I have the...
View ArticleSelecting a Single Anchor Point at the Start of a Script
Sorry to ask but is there a way to automatically select an Anchor Point? It will always be the Lowest point (and because there will be multiple on that Y-axis) I want the Left most point. Thank you!
View ArticleImporting Color to Swatch Library from Text File
Hi,I have a large list of custom colors in Excel that has the color name and CMYK breakdown of each color. I'm looking for a way to import this information to create a custom Color Swatch Library. That...
View ArticleWhy does selectedPathPoints property have more points than I've selected?
I selected only one point in whole document:Then ran this code:objs = app.selection; points = objs[0].selectedPathPoints; alert(points.length); And got this:Why?
View ArticleHow to add text in .ai file and set position, font, size and colour
I want to place multiple lines of of text (individually) into .ai file and set size, font, colour and position for each.Preferably text should have origin in a single point (rather than be framed) Hope...
View Article