Assigning random colors from a defined color palette.
I'm using a mac running illustrator cs5 and have about 4 thousand eps files (all vector paths filled with black) that need to be assigned colors randomly from a defined color palette (25 custom...
View ArticleFind Replace Script - Style Issue
I am newbie in Illustrator Scripting. I wrote a find replace script which looks for specific text in the file and replaces with some given content: For Example: AI file has - 'I love my Dad' and we...
View ArticleIllustrator: Rename Swatches
In Illustrator Javascript, you can use the following to rename layers: var doc = app.activeDocument;// loop through all layersfor (var i = 0; i < doc.layers.length; i++) { //Set up variables for...
View ArticleStartup Script for Illustrator only
Hi, I've made a nice palette script for Illustrator CS6 on OSX 10.6.8.I put it into HD/Library/Application\ Support/Adobe/Startup\ Scripts\ CS6/Illustrator I works fine in Illustrator. BUT: If I start...
View Articlecheck if a word/words/phrase exists in document
hello, how would I go about to check if a textframe with specific content exists in a document and if it does then procede with a function? if ("word" exists) { make a new layer} I just need it to...
View ArticleNeed a Script to batch Resize art and Artboard
I have about 3000 Illustrator assets with varying sizes that I need to batch resize to fit proportionally, along with their artboard, to 170 x170 pixels. Once they have been resized, I can pinpoint...
View ArticleHow to initiate print dialog, like pressing Ctrl+P
I need to initiate print dialog. Action must be completely the same like pressing Cntr+P on keyboard.When I use this code:var colorOptions = new PrintColorManagementOptions();colorOptions.name =...
View ArticleScripting Illustrator actions, incorporating calls to Excel
Hello all, I need some help... I am building a series of logos — based on word strings — using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file....
View ArticleIllustrator Macros/Scripting
Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...
View Articlehow to run my encrypted script
Hi i encrypted my javascript but i want to run it in illustrator can anyone know how to make it possibleThank youAppu
View ArticleFind Replace Script - Style Issue
I am newbie in Illustrator Scripting. I wrote a find replace script which looks for specific text in the file and replaces with some given content: For Example: AI file has - 'I love my Dad' and we...
View ArticleResize Artboard to exact size : jscript
Hello I'm trying to resize my artboard to an exact mm size via a script so then I can add this to a batch i'm trying to achieve. I've been trying to use the following, but i cant work out how to add...
View ArticleHow to avoid loading JavaScript files inside of script folder in adobe...
hi all, As we know, if any .js/jsx file put inside of Presets\en_US\Scripts in adoble illustrator .it will listed in script menu item of AI. but some of the file i want to keep and the same folder (...
View ArticleMail merge using illustrator
Hi There, I'm trying to find a way to automatically populate data into Illustrator and InDesign. I was thinking of doing it using Applescript and importing an excel file into an illustrator graph...
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 ArticleList missing fonts in Illustrator
Hi all, I've been working on a script to try and build a list of font's that not loaded in Illustrator. I know that Illustrator will alert missing fonts when a document is opened but this routine will...
View ArticleSpotColor to GrayColor converter (javaScript)
This could be edited to change any spot color to grayscale, currently it is aimed at a color called "spot black". The reason this is better then just using "edit/edit colors/convert to grayscale" is...
View Articlehow to ignore particular layer
hi i have 7 to 8 layers in my documnet i don't want to select for eg layer 6can i do it in javascript?
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 ArticleShortcut for js script with CS4 ?
hi all,with my old version of illustrator (CS), i might affect a shortcut to a specific scipt .Now i have CS4 version, and i don't find similar possibility. how can affect in this new version ? Thanks...
View Article