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

Script UI breaks connection with AI Document?

Last week I wrote a simple script that interacts with my document and exports layers as images. The script works great, but I thought I'd add a nice UI to it before I release it to the world, so I...

View Article


Illustrator Macros/Scripting

Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...

View Article


How do I copy active artboard from Illustrator to Photoshop?

Hi, I need to copy the active artboard from Illustrator to Photoshop. Can this be accomplished? I got a handle to active artboard like this  //get artboard collectionvar myArtboards =...

View Article

Image may be NSFW.
Clik here to view.

script to put artboard names in text boxes

Hi there. I have an Illustrator document with ~100 artboards, each artboard named by me. Each artboard has one textbox in it. Is there a way to take whatever name I assign to the artboard and print it...

View Article

Changing opacity of text

I'm trying to change/access the opacity of a text object (Illustrator CC).In the documents, I found that it's represented by a text frame object, but it doesn't have opacity property. Text range and...

View Article


Script to change links for many files

Does anyone have any suggestions or pointers to a solution for changing the file path for links in an Illustrator document? For example, let's say my Illustrator document is stored...

View Article

Illustrator Script code for removing selected items

Hello, I have an Illustrator script to go through certain functions and after it runs there are items selected that I need deleted. I cannot figure out the simple script to remove the selected items. I...

View Article

Batch Resize Artboard?

Hi all! I have zero knowledge in scripting so help would be greatly appreciated. I exported 60 frames in after effects and i've applied a batch trace in illustrator. This worked except that i created...

View Article


Excel data to construct illustrator object

Problem:How to read real number data from selected columns in an Excel spreadsheet into an illustrator javascript array variable, so that then I can use this information to construct an illustrator...

View Article


Image may be NSFW.
Clik here to view.

FILLING FORMS FROM A FILE CSV / EXCEL

I have a form I have to fill out every day several times according to the client, but this information comes from a spreadsheet, I would use a script to fill it for me, I have enough knowledge to make...

View Article

Move layers to new artboard

Hi everybody, I'm trying to create a script via javascript for Illustrator. My problem is : I have a AI file with multiple layers, i want to create one artboard per layer, in order to export a...

View Article

XMPString deferent results when used with alert() vs $.writeln()

im using Javascript. does anyone know why when i use alert() for example var rawXmpData = app.activeDocument.XMPString; alert(rawXmpData); the metadata displays in the alert box but when i try...

View Article

file without opening the dialog window

How do I open a file on Mac without dialog window using a pre-defined path network? example: myfile / mytest / mytestfile.ai  Thanks

View Article


Image may be NSFW.
Clik here to view.

simple dialog - panel and checkboxes

I have very simple dialog - just one panel and few checkboxes. When I set panel as "undefined" everything works right, but when i set a size of the panel checkboxes disappear. Worksvar win = new Window...

View Article

Relink many files at once

I was wondering if anyone can help.  I'm using Illustrator CS6.  I have an artboard with 200 of the same placed file.  I now want to use this same layout for 30 other views, they are the same size, but...

View Article


Image may be NSFW.
Clik here to view.

Batch export .ai to .png produces files without extension - please help

I created an Action to batch export a folder of .ai files to create 300dpi .png's of the .ai file's artboard. I did this by simply recording "Export...as png" with my desired settings then Batch...

View Article

Image may be NSFW.
Clik here to view.

Script to automatically replace specific layer?

Hello. I work for a small company and we frequently get client AI files that we need to edit. Because of the way thay're formatted the layers always come in with the same name/structure, but they...

View Article


Script to Make all text Dynamic

Is there a way or a script that will make all the text on a page Dynamic? At the moment we have to select each text box and press 'make text dynamic', which can get tiresome with a lot of text boxes....

View Article

How to speed up a javascript looping through all pathItems?

I have a very simple javascript for Illustrator that is intended to render all filled objects semi-transparent. It works nicely but for large documents with many objects this takes ages, even beyond...

View Article

show error for pageitems outside the workarea of illustrator document

Hi all, I want to write a script which will alert the error message if the page items are outside of the workarea.Any object placed outside the page area should generate error message. Thanks,Sanat

View Article
Browsing all 12845 articles
Browse latest View live


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