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

Image may be NSFW.
Clik here to view.

Custom scripts not working in Illustrator CC (2014)

A couple of custom scripts that are part of my workflow don't work in the new CC; MultiExporter.jsx and Sprite CSS Generator.jsx.When I try to run either a titled modal window comes up as if the script...

View Article


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


Position objects on path

HIIs there any way to find a specific point on a curved path, that is not an anchor point?I want to position an object on a path, but I need to know the Y of any given X on that path. Thanks Math

View Article

Working on a script that will add a new artboard and delete the old one if it...

var docRef = app.activeDocument; app.coordinateSystem = CoordinateSystem.ARTBOARDCOORDINATESYSTEM;   var ab = docRef.artboards[0]; if ((((ab.artboardRect[2] - ab.artboardRect[0]) / 72) == 17)...

View Article

Break link to symbol

If I right click on a symbol instance, I get a menu item, "Break link to symbol."  How can I do that same thing in Javascript?  1) That is, how do I use Javascript to break the link between a...

View Article


Image may be NSFW.
Clik here to view.

Extracting data from Excel To Illustrator javascript or vbscript

Hi all-I was wondering if there was a way to extract data from Excel to be used in Illustrator. I know there is an option of variables and xml, and I don't want that. I've seen and tried out how to...

View Article

Script for Selecting Open Paths in Illustrator CS6

I have created this script for selecting open paths in illustrator cs6 as the graffix plugin is not working under CS6.  Just save the following text in /Applications/Adobe Illustrator...

View Article

Reset Zero Point? Illustrator CS3 JS

Hi, I am looking for a way to reset the zero point to always be the top left corner of the document, but can not seem to find any documentation or preferences to do this. Can anyone help?

View Article


how to change the document color mode(RGB to CMYK)?

Kindly advice me how to change the document color mode(RGB to CMYK) via scripting in "illustrator cs3". Thanks.

View Article


need script to export text from multiple illustrator files to txt files

Hello. I can do the following manually: open an illustrator file (cs4, pc, windows xp); go to file, export, export text to a file with the same name as the illustration file (with the txt extension)....

View Article

Trigger Save As... dialog with Javascript?

I have a script that makes some significant changes to an Illustrator file and would like to have a "Save As..." dialog pop up at the end of the script to give the user a chance to save the changes in...

View Article

Anti-aliasing Type Optimized/Art Optimized on PNG export

Hello there, I'm modifying a javascript that makes an export of each layer contained in an Illustrator document and I want to specify the method used for anti-aliasing (either Type Optimized or Art...

View Article

[JS] CS6+ executeMenuCommand

Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...

View Article


applying a swatch to a pathitem

I am trying to apply a swatch to all pathItems on a certain layer. I have the code written to access the layer I want but I am not sure how to apply a specific swatch name to the pathItems on the layer...

View Article

Moving items from a template file to active document

Hello Everyone, What I am currently doing is I will leave a template file open and I will have to go to that file really quick and copy what I have selected in that file, go back to the file I am...

View Article


Resource specification for a treeview

Hi I can't seem to get a resource specification 'fully' working for creating a treeview UI control.  I can get the treeview control to show up but I haven't been able to get the list items to work....

View Article

Illustrator script to select multiple layers

I have about 74 layers in illustrator and i want to run a script to select combination of layers at a time. For e.g. I want 5 layers to be selected and save them as one .jpg. Then say i need to select...

View Article


Extract text from illustrator for translation then replace with translated text

I am trying to find a way to expedite translations of our drawings.  Each drawing has a series of callouts showing what that piece of the drawing is via text.  I would need to do 100's of drawings for...

View Article

Altering a textframe that wasn't created through a variable by getByName

Hello allDoes anyone know how to alter a preexisting textframe within illustrator using extendscript. I can see how to do it after using ".add" and then referring to the variable and altering the...

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


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