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

Can't write to network drive (osx)

I've been running a script for a while now that saves to a network share, but today it's just stopped working.  I just get an error "Can't save the illustration.  You do not have enough access...

View Article


Random brush stroke

I download this script that randomly fill all selected paths with the selected swatches: mySelection = app.activeDocument.selection; myDoc = app.activeDocument; if (mySelection instanceof Array) {...

View Article


adding/loading a script in an action

hi all i'm not familiar with scripts at all and a quick search didnt result much in similar question except one from 8yrs ago which said it cant, but maybe since then there were some changes. is it...

View Article

Scripts that interact with other applications, such as Excel

Hello Everyone, This is from the Illustrator CS6 Scripting guide. "A script is a series of commands that tells Illustrator to perform one or more tasks. These tasks can besimple, affecting only one...

View Article

Find and Replace Script for multiple files

I am trying to find a script that will either open a selection of .ai files or run through all the open files in illustrator and complete a Find and Replace. Right now I have a script that runs the...

View Article


White fill text overprint need to be select

I need your help. I am new to write the javascript.  I need to select the white text with overprint enabled (White means: C=0, M=0, Y=0, K=0).  I am writing the script but I don't it is not working...

View Article

Image may be NSFW.
Clik here to view.

length information

Hello everyone, does anyone know how to access this information of selected path length?

View Article

How to encode non roman alphabet when exporting SVGs with ExtendScript

I want to encode non roman alphabets as greek, russian etc, when exporting SVGs, how could I achieve that with ExtendScript? Thank you

View Article


Image may be NSFW.
Clik here to view.

Script to resize text to fit box

I currently have a box area and I need to have text fit into that box and retain it's proportions either height or width.I can partially accomplish this by setting my type and doing an envelope distort...

View Article


placeFiles.file Error 1230 file folder expected

I'm not sure what I'm doing wrong with this.  According to the documentation this should work no? var placeFiles = aDoc.placedItems.add();placeFiles.file = ("/Users/ohms/Dropbox/printing/file.ai");...

View Article

How to construct a Rectangle element

I would like to use the Rectangle object described in the help to ExtendScript CS5: >  Rectangle >  Adobe Illustrator CS5 Type Library >  Describes a rectangle. This class is also a...

View Article

Illustrator CS6 set defaults to inches

In Illustrator you can set inches for the units by doing the following:Go under "Illustrator Menu"Select "Units " under "Preferences" menu itemSet "Stroke" to inchesSet "Type" to inches How can I make...

View Article

Render swatch Legend Script

I was wondering if someone could help me edit this Script Written by John Wundes. Its almost perfect for what i need, but my problem is the text box inside of the swatch when it is rendered is to...

View Article


fill color using a script.

I'm trying to create a script in CS5 mac os10.6.8 that will change the fill color of selected pathItems. I need a simple script that will change a selected pathItem to cmyk values 2,3,15,0. I will then...

View Article

Image may be NSFW.
Clik here to view.

serching for a script to place the filename of linked files

Hi, I´m searching  for a script that can place the filname of a linked picture. Like in the sample:I have to create a compilation of a few Pictures in one file. To distinguish the Pictures I want to...

View Article


Test whether a layer with a specific name exists?

Is there a simple way to test whether a layer with a specific name exists?

View Article

Image may be NSFW.
Clik here to view.

How to get the Selected Items X, Y position with MM value

Hi All, In Illustrator CS5 version how to get the X, Y position in Millimeter. In InDesign I can easily get the X,Y position also I can change the ruler origin easily. Illustrator I tried but I failed....

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

Illustator - select pathItems based on fill color

I am seeking a vbscript to select all pathItems based on its fillcolor.  Here's what I have but obviously wrong but I think I am on the right "path", ha!  I can't figure out how to say "if the...

View Article

Avoiding "PDF Modification Detected" blocking dialog

Hello, I am working on an Illustrator script opens an AI or PDF file, extracts some information, then converts it to a JPEG.  It is designed to run unattended in batch mode, and sometimes is used to...

View Article
Browsing all 12845 articles
Browse latest View live


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