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 ArticleRandom Delete a selection of
Hi, I am trying to create a script to specify a percentage of the selected items you want to remove.Here is what I have so far. I still need to work out on the alert prompt and the if statement, but...
View ArticleBatch image processing
Hi: So, I'm looking for a way to automate the task of batch processing files located in different folders, opening, saving and closing them in the same location. (Please see the attached screen capture...
View ArticleHow can I get keyboard cursor(caret) position in javascript?
Hi. I have a question. How can I get keyboard cursor(caret) position in javascript? I made a multilined edittext in ScriptUI. But It's not working about Enter key. All I want is when I push 'enter'...
View Articlescript to copy color from object below
Hello, I was wondering if there is a script to copy the fill color from an object below.I need to transfer the fill colors from 300 different squares to 300 circles, how can I do this quickly?...
View ArticleHow to extract images from adobe illustrator using extended javascript
hi,I am working on adobe extended javascript , and I need to extract all the images from artboard(adobe illustrator).and save co-ordinates of the images in the artboard to a text file.Thanks
View ArticleHow to save as AI file with PDF compatability at the same location?
Hi Guys, Requesting for script. Here are the details.. I do have lot of AI files (from different paths) which are do not have PDF compatability switch on. So now I am looking for script that all the...
View ArticleScript 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 ArticleScript to round fractional CMYK colours?
This script must exist but I'll be damned if I can find it!!! I work in a large printing company and we get artwork from all over that has dodgy CMYK colours (quick convertions from RGB obviously). We...
View Articlescript 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 ArticleTweaking the SaveDocsAsPDF script
Hello. Absolute scripting newbie here; will someone take pity...?I am looking at the SaveDocsAsPDF script. It works for our purposes except I would like it to save PDFs using a Preset we created called...
View ArticleSelect all the objects in active artboard
Hi i want to select all the objects in active artboard using javascriptanyone please help me with script Thank you Appu
View ArticleA batch processing script which can outline texts in the ai files and convert...
Suppose i have a folder containing 100 ai files,i would like to create outline from texts inside each ai files,and then convert to pdf files, how can i do that?is there any java script can do that?
View ArticleJavascript to create vector from image and save as eps
Hi,I started writing a script which open all images in a folder and i need to turn those into vectors.How do i write the following in JavaScript:Open the JPG fileSelect the image layer/objectCreate a...
View ArticleAnything similar to javascript's setInterval in ExtendScript?
I need a way to poll my server for new jobs for the illustrator script to work on every few hours.I tried with $.sleep(), but that is blocking, I need a non-blocking way to do this.Any advice?...
View ArticleWhy are Adobe scripting docs like for Illustrator vague on Applescript's file...
From the Adobe scripting reference for Applescript, for Illustrator (I believe is same for other products too), I see code example snippets like: on openFile(fileToOpen) tell application "Adobe...
View Articledump obj. properties ?
Hi all,i'm trying to list all object properties.Seems very strange to me that some properties will not shown.for example pathItems : clipping and pathPoints.so, why? if i comment outif(!obj[prop])...
View ArticleSaving to a folder that is password protected
I've got a script that saves artwork to a public folder but I also need a script that saves the artwork to a folder that is password protected. The username and password is something I would need...
View ArticleExporting an .ai file to a bitmap file
In Illustrator Scripting (VBscripting), how can you export an ai file to a bitmap file? In Illustrator you can open an ai file and by selecting the Export option you have a choice of formats and one of...
View ArticleA 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