Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing all 3671 articles
Browse latest View live

$.fileName from ExtendScript

I think this one is a bug, maybe introduced with the latest Illustrator CC 2014 update... This is Illustrator CC 2014 running on Windows 7. I have a simple script like this:#target...

View Article


Image may be NSFW.
Clik here to view.

launch illustrator with script from commandline

Hi,(Illustrator CC 2014 on Windows 7) I had hotkeys defined using AutoHotkey to execute a script in illustrator by executing a commandline, and with the script as an argument. This used to work fine,...

View Article


Convert Illustrator script from cs3 to CS5

Hi Everyone, I'm new to illustrator scripting I did some simple InDesign script before but this the first time I am ask to create script for Illustrator.We have an old script that will create a report...

View Article

How do I export an artboard composed of multiple artboards to png?

I am using CS6.  When I save for web, only the first artboard saves.  How do I get all of them to save in one image?

View Article

Image may be NSFW.
Clik here to view.

Delete unnecessary points

Please see this post in the main forum. I am looking for a script (if one exists) that will delete unnecessary/redundant points. My OP: Let's say I have a rectangle, and in addition to the corner...

View Article


Help......Change Document Size

How to change (Illustrator)Document Size. As Old Document Size Width:400Height:600 I would like to change Width:450 Height:650Similar features Menu-->File-->Document setup....

View Article

vertical scrollbar does not work in a nested dialog

In Adobe Illustrator CC 2014 Win 7 and Mac OS X 10.8 function dropdown2(win_location, win_width, h50, list2) {    var ww = new Window ("dialog");    var g = ww.add ("group");    var panel =...

View Article

Hi programmers, can help my. I need make a VBScript.

Description: Open document.Document containts Layer and sublayers.I need create duplicate main layer including sub layer. Rename new duplicate main layer and change position.Look on example AI....

View Article


Image may be NSFW.
Clik here to view.

Is there a script to "Package" more that 1 file at a time?

I am trying to find a way to Batch Processing groups of Illustrator files (version Mac CC 14) into Packages (separate folders with links). The new "packaged" folders in a new location then need to be...

View Article


Which method/event can pop up the "Save For Web" dialog as well as getting...

Could anyone please point me out with which method/event I could use to trigger the “Save for web” dialog as well as getting the file path from the returning results. basically, I need the sample code...

View Article

Read .txt file and input into textFrames

Couldn't find a script to read txt file and input the info into textFrames in the document. wrote this simple script  Hope any1 finds this useful

View Article

How to set flattening option on EPS file

Hello, I need to set within a javascript script the flattener options and I don't know how to do it. I have seen the option for an pdf file flattenerOptions that doesn't exist on an EPSSaveOptions...

View Article

Set unit preferences (Javascript)

I can't find a way to set the unit preferences for Illustrator CS6/CC using JavaScript. I found that this works (setting units for stroke):var units = 2; // 0-inches, 1-milllimeters, 2-points...

View Article


Retrieve paragraph direction from ME edition of Illustrator using javascript

Hi, I have the ME edition of Illustrator CC installed.When i open an Arabic illustrator document i can see the 'Left-to-right Paragraph Direction' and 'Right-to-left Paragraph Direction' button.Also...

View Article

[JS] Load custom Transparency Flattener before exporting to EPS

Hello, I'm trying to change the flattener for EPS export:- I found the option for PDF saving but when trying to add the same field to EPSSaveOptions is does nothing (I had little hope on this one but...

View Article


A Zoom_to script

With a lot of help from Jongware, here's a little script to change the view zoom level for an AI document window. //////////// var ZF = prompt ("Enter the zoom factor you wish to use, 1.00 = 100%",...

View Article

adding text to a text frame?

Okay, I have yet another question. I can see the text in a text frame with a script like this,  var doc = app.activeDocument;var myTextFrames = doc.textFrames[0];var myTF_Content =...

View Article


Image may be NSFW.
Clik here to view.

Undefined PDF Presets in Illustrator CS5

I'm encountering a problem when attempting to retrieve a list of PDF preset names in both AppleScript and JavaScript. Here are the steps I'm performing: 1) Launch Illustrator 2) Run the following...

View Article

How do I flatten the layers in an illustrator document using extendscript

The nearest I can find is   activeDocument.mergeVisibleLayers();   But this doesn't work in illustrator CS5 Thanks

View Article

Image may be NSFW.
Clik here to view.

Script for adding layer name to artboard as text

I've found scripts that are sort of close but not quite this.  I have 1 artboard and many layers (see image).   Does anyone have a script that will take the name of the layer, ie "01_Intro" and create...

View Article
Browsing all 3671 articles
Browse latest View live