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

Page numbers in illustrator

Hi,I have the script for inserting page numbers in Illustrator, but the problemI face is there are 2 files of about 50 pages each. The first file I can insertthe page numbers from 1-50, but the second...

View Article


Saving PDF - Hi and Lo res - JSX

Hi all, I've been trying to figure this out but to no avail. Basically I want to save a Hi and Lo res PDF of an ai file using a script. I've done some searching around on the forum and come across this...

View Article


creating outlines from text using javascript in Illustrator CS5

Hi everyone, Is there a way to select all of the text on all artboards and CREATE OUTLINES using Javascript? I've googled and googled, but I can't seem to find any help. The text that Adobe provides...

View Article

Convert to Grayscale

Hello, It is possible to apply the Convert to Grayscale(Edit->Edit Colors->Convert to Grayscale) for the selected items in illustrator cs3 in script (javascript)?Kindly advice me the...

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


How to change the font of only numbers in a textframe?

I'm working to create a script that makes a textbox based on user input. I need a way to make it so any time a number is used, it uses a different font.  Here's what I'm working with so far        var...

View Article

Convert string (string of JSON) to JSON object?

**EDIT**I finally figured out how to use #include instead of file.read();. This solves my immediate problem. However I am still curious as to whether it's possible to do what I'm asking for below, just...

View Article

Script to round fractional CMYK colours?

This script must exist but I'll be damned if I can find it!!! I work in a large printing company and we get artwork from all over that has dodgy CMYK colours (quick convertions from RGB obviously). We...

View Article


Split Text into Layers

I was wondering if anyone is aware of a script that is able to do the same as this photoshop one http://www.agasyanc.ru/text-splitter, I would use that one in photoshop but its not working in CS6. I...

View Article


How to create outlines?

I want to create outline for all TextFrameHere is my code: app.executeMenuCommand("Text Objects menu item");app.executeMenuCommand("Create outlines menu item"); // This is a failure here What...

View Article

Unable to select same Graphic style on pasted eps

I open an eps.Copy the whole graphic.Open correct template and paste copied graphic.The template has Graphic styles with same fill and stroke (no other attributes exist) as in pasted graphic.However, I...

View Article

Automated exports PRINT PDF, EPS, AI + WEB PDF

Hi.  I yet have not found a way to automate the following in 1 Batch: 1. Embed all links2. Text to paths3. Export PRINT PDF (Preset)4. Export PRINT EPS5. Change Path Text back to text6. Export AI with...

View Article

SaveAs under Windows errs with 'The file may be read-only'

1. I have a new (untitled) document2. My scripts tries to perform 'SaveAs(filepath)'3. A error popup appears "The file may be raed-only, or another user may have it open. Please save the document with...

View Article


VBScript Rookie

Hello Guys/Gals, I'm a quadriplegic male aspiring to all things geeky :-) I have just started my adventure with Illustrator CS6, loving it so far… I have wandered into the woods a.k.a. Gradient Mesh...

View Article

Script that gives specific names to layers - from bottom to the top

Hi, This is probably an easy one for anyone with JavaScript experience.I have 35 layers that I want to give specific names to (now they're named liked "layer 1, 2, 3" - but sometimes this won't be...

View Article


Is there a way to clear or delete actions through scripting?

Hello Everyone!  Menu Commands Outline Stroke I'm trying to make a script that will clear and then reload actions to try to get around that bug. Thanks to quertyfly and moluapple I now know how to make...

View Article

Replace color via swatches

Hi, I just need to find objects, texts or anything in page have spot color value of C=0 M=0 Y=0 K=100 into "Black" color. The below is the tried coding, it is not finding  "Black" color in swatch list....

View Article


Image may be NSFW.
Clik here to view.

URGENT: Please help to get correct outputIntentProfile

Hi, I need to get the following profile name when i save an .ai file to .pdf.  Below is the tried coding.  var workingDoc = app.activeDocument; var workingDocFile = app.activeDocument.fullName; var...

View Article

Script. Insert text number in the middle of visible bounds of the each object

Hello! Adobe Illustrator CS 6I have script, wich groups filled paths by colors. Link to script and traced image. Traced_image.rar - Google DriveI have traced image, it has 25 colors. The script creates...

View Article

How delete a Action Set in Illustrator by Script?

this my code Load and unload a Action in Illustrator. But Action Set [Test_Set_Action] still exist after unload...

View Article
Browsing all 12845 articles
Browse latest View live


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