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

Script to make multiple layers in one task

From time to time I find the need to make many empty layers named A-Z. I use this when preparing a font drawn in Illustrator for moving to FontLab.I have not found any ready made script to do this and...

View Article


Convert .ai to .doc

Hi, Can it be possible to convert .ai file into .doc file or any tool which will do this conversion. Thanks,Shail

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

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

Importing Color to Swatch Library from Text File

Hi,I have a large list of custom colors in Excel that has the color name and CMYK breakdown of each color. I'm looking for a way to import this information to create a custom Color Swatch Library. That...

View Article


resize method with Javascript in Illustrator CS4

var objectBounds = docRef.visibleBounds;var W = objectBounds[2] - objectBounds[0];//figures the widthvar H = objectBounds[1] - objectBounds[3];//figures the height   // W & H are reporting the size...

View Article

CMYK to Spot conversion

I created a script that goes through the path objects one a time, converts the cmyk values over to a spot color, then applies that new swatch to path item. It works when it comes to grabbing the...

View Article

script to align selected objects to artboard

Hello, I was wondering if anyone had a simple solution to aligning selected items to the artboard. I was going to create an action but then realized it would be more convenient for me to include it in...

View Article


Change font in Illustrator cs4 js

I need to assign specific font to my text and it doesn't work. What am I doing wrong:  var my_OUTSIDE_TextFrame = myInstrLayer.textFrames.add(); my_OUTSIDE_TextFrame.geometricBounds = ["1.6 in", "1...

View Article


How do I batch-rename objects/paths (not just layers)?

Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name,...

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

JavaScript to prompt user to save as PDF

I am making changes with code to the file. I want the user to be prompted to save as a .ai file first. I have that down. Now I am wanting to have the user immediately be prompted to save as a pdf with...

View Article

Applescript - return value from 'do Javascript'

I'm running a javascript via Applescript, and I want to return a value back to the calling applescript. When I try the following test: tell application "Adobe Illustrator"set theScript to "return...

View Article


Copy selection to a new document

Here is a break down of what I am wanting to accomplish....any guidance would be appreciated! 1. User will select items (text frames, compound path items, path items)2. User will run a script that will...

View Article

Convert RGB to CMYK Illustrator CS4 js

Hi, I need to convert RGB ai file to CMYK mode. I tried:  myDoc.documentColorSpace = DocumentColorSpace.CMYK;  I realize that it says Read Only, but I couldn't find anything else in OMV. Your help is...

View Article


How can I set Illustrator CS5 color settings using Javascript?

I can set Photoshop color settings with the app.colorsettings ('File') in javascript, but I cannot locate an object in Illustrator that would perform the same task. I can only find readonly objects for...

View Article

Renaming selection with even or odd increments

I currently have an illustrator file that requires me to rename selections of objects. Currently I'm using:  var docRef = activeDocument; with (docRef){ var sel = docRef.selection;  for (var i=0; i...

View Article


Giving Opacity the same value as fill color (Inverting Opacity/Fill)

I am looking to add a script that would take the fill value of swatches in my art file, and apply those values to the opacity of each swatch.  I would also like to be able to adjust the fill value to...

View Article

Delete Document using JSX

Hi All, I want to delete an Image File using JSX . I explored the functions in File but there is nothing like Delete().  Please suggest me some code. ThanksHarsh

View Article

Resize Eps image using Width

Resize Eps image using Width in illustrator

View Article
Browsing all 12845 articles
Browse latest View live


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