ExtendScript Illustrator - Change color of text one character at a time.
I'm trying to write code for ExtendScript ToolKit to target Illustrator. I've been writing in JavaScript, but am open to switching to AppleScript if needed. The goal of the code is to change the...
View ArticleScript to convert all text to paths and save out artboards
I'm wondering if there's a way to convert all text to paths, even text within symbols, and then export each artboard to it's own file. This would be for creating flat files to upload to a printing...
View Articlefill 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 ArticleRounding decimals script on a CMYK document
I've never actually created scripts before so trying to create code from scratch is totally foreign to me, but I'm trying to make one by using various bits of code that I've found in the default Adobe...
View Articlerelink all selected
CarlosCanto wrote this script for me years ago, but seems to not work anymore onMac OS 10.10.5CC2015.3 Is supposed to relink all instance of an image, as for example on a carton in packaging design we...
View ArticleAdobe Illustrator not responding !!
Hello everyone, My script works for small size files upto 900kb it takes less than a minute , if it is more than 900 kb it is running for 1/2 hour then it forces the illustrator to not respond and...
View ArticlePage numbers in illustrator
Hi,I have the script for inserting page numbers in Illustrator, but the problemI face is there are 2 files of about 50 pages each. The first file I can insertthe page numbers from 1-50, but the second...
View ArticleBatch relinking broken filelinks in .ai files
Hi, am wondering if it's possible to relink files in batch , my gut is saying no as all scripts ive found for relinking files references internal functions such as "app.documents". Aim is to...
View Articlelooking for script to 'Show All Layers"
Dear all, I'm looking script to 'Show All Layers" as below. I searched Abobe script guide but I can not figure out. Please help to save my time in work.
View ArticleHow to select ALL objects and get bounding box of objects???
I am trying to find the bounding box on a document. In Illustrator you can select ALL objects and see the bounding box (width & height). But I need to do this in a script. How do you select all...
View ArticleOpen Save File Dialog with Default Path
Hi All, I want to open a "Save File Dialog " with some default path. Like when user run that script I want to open a "Save As" dialog box with default path "/Volumes/<shared name>/<folder...
View ArticleScript to convert CMYK color to PMS color
Hello All, I have bunch of AI files that have thousands of objects with all different CMYK colors.What I need to do is converting them into Pantone solid coated (PMS) colors. I found a free script...
View ArticleWhat's New in Illustrator Scripting CC2018
CC2018New ClassAssetAdobe Illustrator 22 Type LibraryAn (exportable) asset.PropertiesAsset.assetID (Read Only)Data Type: Int32Adobe Illustrator 22 Type LibraryThe UID for the asset which is unique...
View ArticleAuto-arrange objects by rounded Y position
Hi! Can someone help me? I want to sort objects on airboard from bottom to top by rounded Y for simplify sorting process. Rounding will create virtual rows (different color on pic below) highest value...
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 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 ArticleScript to set artboard to selected art, etc.
In my new work I REALLY need to learn Javascript for AI. I am trying to read through the official guide but am impatient. Can someone create a script that would: Create rectangle based on user inputSet...
View ArticleJavascript for Illustrator svg
Hello,I want to create an interactive svg map for a website with hyperlinks on different areas. I can do that, but I would also like the colour/fill of each area to change on mouseover. I believe that...
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 ArticleUnable to select same Graphic style on pasted eps
I open an eps.Copy the whole graphic.Open correct template and paste copied graphic.The template has Graphic styles with same fill and stroke (no other attributes exist) as in pasted graphic.However, I...
View Article