C2 color profile issues
We have a script that automatically places jpgs into illustrator files by updating the file a placed item is linked to. But any time a JPEG with a "c2" color profile is encountered, Illustrator throws...
View ArticleDeselect objects script
Hello Is there any way to script the deselection of for example 9 out of 10 selected lines, sorted from left to right? So if I have 100 lines selected, the result will be only 10 selected lines evenly...
View Article"Live" Dialog box
Hello,I have a question about dialog box.I have a rectangle in artboard with dimensions 50x50mm.When I press button "Pobierz" I would like get object width in text box.There is any way to do this? This...
View ArticleHow to place textfields on a specific place on an specified artboard -...
found this script, but it places the textframe always on the first artboard, but want it f.e. on artboard 3 // PLACING ITEMS ON ARTBOARD if ( app.documents.length > 0) { doc = app.activeDocument;...
View ArticleWhere exactly on canvas is textFrame's "top"?
I have a script putting some elements on screen — a rectangle and a couple of text items. While the top and left position of the rectangle falls exactly where it's supposed to, I can't quite figure out...
View ArticleSelect blends only
I use 'Select Extended' script quite often.But there is no 'Select Blends' option. Is there a way to distinguish blended objects via DOM and JS?I guess one draft way to do it is to read objects' names...
View ArticleOpen multi-page PDF in Illustrator
Does anyone know of a script that would allow Illustrator CS4 to open all pages of a PDF, instead of opening one page of the PDF at a time?
View ArticleCurrent folder?
Hi guys, I was trying to find the current folder, but I couldn’t :/Folder.Desktop = Desktop (Win and Mac) My little question is:- How can I send to JavaScript the current folder?(No path, just the...
View ArticleIs it possible to use scripting to duplicate a layer?
I recently asked this question in the Illustrator forum as I didn't realize there was a separate scripting forum: Find and Replace Text Problem I ended up just hunkering down and solving my own problem...
View ArticleFind and Replace Script for multiple files
I am trying to find a script that will either open a selection of .ai files or run through all the open files in illustrator and complete a Find and Replace. Right now I have a script that runs the...
View ArticleApplescript - 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 ArticleBatch combine files into one illustrator document - how to open target document?
I am making a script which will: 1) Open a folder of Illustrator files2) Open each file in the folder (these files are called the source files)3) Select all the contents of the source file4) Copy the...
View ArticleAnti-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 ArticleGetting the File Name from an Embedded Link
Hi All, I'm using the below code to get the raster item (file name) for the embedded links in an artboard.But I am facing the below issues.1) if any link is missing then the script is not running2) if...
View ArticleScript 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$.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 ArticlePlacing files/images
Sorry guys, but I an new in this... help me please! How can I place any image or any file into my active document via JavaScript?Not using actions or menu like: File > Place... Is there a way to do...
View Articletext input not updating slider properly in dialog
trying to get this rotate script to work properly. It basically creates iterations of an object around a circle. I can get the slider to update the text input but not the text input to update the...
View ArticleIs it possible by script to send print separations to a .pdf and then append...
I have written a script to create, save and print an order for printing-plates. The result is a two page .pdf to which, in an ideal world, I would like to add,either at the time of saving it or later,...
View ArticleRender swatch Legend Script
I was wondering if someone could help me edit this Script Written by John Wundes. Its almost perfect for what i need, but my problem is the text box inside of the swatch when it is rendered is to...
View Article