Storing a persistent variable with scripting?
Hello -- is it possible to store the value of a variable via scripting after a script has been executed or does it only exist during runtime? The use case here would be to store a user entry between...
View ArticleHow do I batch-rename objects/paths (not just layers)?
Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name,...
View ArticleHow to divide all textFrames in one-character-per-textFrame?
Hello: How to divide all textFrames in one-character-per-textFrame? Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s". Help, please.
View Articledocument.variables.removeAll()
Using CS5, I would like to remove all the variables that show up in a document variables panel, so that new ones can be put in without any errors happening. But, the act of removing them causes an...
View ArticleResolution check in illustrator
How to check the raster image resolution in illustrator through script?
View ArticleIs it possible to have dynamically scaled/aligned variable fields (like name...
Hi I have an ID card template in Illustrator which we fill in with dynamic data. I have some rows with more than one variable, for example:[name] [surname]Is it possible to set up the document so these...
View ArticleScript for making an object the artboard size.
I am looking for some help on trying to make an object the exact size of the artboard. This is something I do on a daily basis for several different reasons and it would be very helpful if this can...
View ArticleUI (Window, dialog, palette etc) reference info for AI scripting
I'm looking for standard reference info on UI elements like popup windows (dialogs, palettes etc). I've been through the Illustrator CS6 Javascript Scripting reference guide and also the CS6 Scripting...
View ArticleScript Panel - Work in progress
Hi All,Working on a Script Panel to make scripts simpler to run in illustrator.This is a work in progress... Looking for some people to help test and make suggestions. at the moment this is a Windows...
View ArticleDoes anybody know how to remove all "copy" word from AI layers name line?
I downloaded a PSD script that auto remove the word "copy" from all layers. Inside AI, I can't do that. Does anyone can help me? Here is the jsx PSD script file: ----------...
View Articlescript to align selected objects to artboard
Hello, I was wondering if anyone had a simple solution to aligning selected items to the artboard. I was going to create an action but then realized it would be more convenient for me to include it in...
View Articlechoose folder default location
Hi, I've been searching the forum to try and a way to allow a user to choose a folder from a default location. I thought I had found the solution but it's not quite working as I wanted: #target...
View ArticleReworking Photoshop layer renaming script for Illustrator
The Photoshop scripting guru Paul R over at RetouchPro has created a really cool script to batch rename and number selected Photoshop layers. I haven't found anything similar on the Illustrator side....
View ArticleMakeing the scripts a plugin & sharing is fun!
Hello world of scripters and fellow adobe enthusiasts. I've been tossing around the idea of making all my scripts into plugins for illustrator, and since they are all done in JS how hard would it be to...
View ArticleExecuting HTML file in Yosemite
SO, as of Yosemite on Mac, doing a file.execute() on an html file is broken. The browser opens a document, but the URL is all screwed up, it says something like file:///.file/id=6571367.2773272/See...
View ArticleIllustrator 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 ArticleA Script to Find and Replace Layer Names
Are there any scripts to find and replace layer names? There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes,...
View ArticleIllustrator error occurred: 1346458189 ('PARM')
I'm so sick of these errors,never had an issue before CCanyone know what is causing these errors? have been using this script all day and now it bugs out on me.full script is below: var doc =...
View ArticleCan I use ExtendScript to store info about an Illustrator document externally...
What I want to do is this: 1. Iterate through all the layers in a document (recursively) and discover each layer's NAME, VISIBLE, and LOCKED properties.2. Create an object that contains those...
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 Article