Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Browsing all 12845 articles
Browse latest View live

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 Article


How 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 Article


How 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 Article

document.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 Article

Resolution check in illustrator

How to check the raster image resolution in illustrator through script?

View Article


Is 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 Article

Script 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 Article

UI (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 Article


Image may be NSFW.
Clik here to view.

Script 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 Article


Does 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 Article

script 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 Article

choose 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 Article

Image may be NSFW.
Clik here to view.

Reworking 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 Article


Makeing 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 Article

Executing 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 Article


Illustrator 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 Article

A 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 Article


Image may be NSFW.
Clik here to view.

Illustrator 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 Article

Can 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 Article

Image may be NSFW.
Clik here to view.

Applescript: 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
Browsing all 12845 articles
Browse latest View live


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