importPrintPreset, is it broken?
Hi everyone, has anyone had any luck with importPrintPreset()? I can't get it to import any presets, I get no errors, it just doesn't do anything... var idoc = app.activeDocument; var file = new...
View ArticleBatch script on multiple files in folder
Hi, I'm very new to JavaScript and I've combinded a few codes I've found on here to build a swatch color replacement tool. It works great! The only issue I'm having is that it only runs on one file in...
View ArticleImporting 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 ArticleCan I change Illustrator's Script folder location?
Is it possible to change the location of where illustrator looks for scripts, or is it possible to add a location?
View Article[JS] CS6+ executeMenuCommand
Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...
View ArticleAdd image link filename to each artboard
Hello everyone! I have a document with several artboards. In each artboard is a different linked image. Is there a way to add the linked filename to the bottom of each artboard? Thank you!
View ArticleScript to Make all text Dynamic
Is there a way or a script that will make all the text on a page Dynamic? At the moment we have to select each text box and press 'make text dynamic', which can get tiresome with a lot of text boxes....
View ArticleScript to change layer name in to Document name.
Hi I would like to make the active layer name the same as the document name. I know very little about scripting. I found this script: var idoc = app.activeDocument;var ilayer = idoc.activeLayer;var...
View ArticleRename the layer using the name of the enclosed object
I'm trying to build a map of the world that includes provinces and sub-provinces (counties). I will be animating it in AE. AE only sees the top layers so it is imparative that the name of the top...
View ArticleDrawing compound path from existing artwork
I'm working on a script for my company that sets up templates for internal use. I've been able to get most of it completed by drawing basic pathItems and textFrames. The problem I face now is adding...
View Articlescript to put artboard names in text boxes
Hi there. I have an Illustrator document with ~100 artboards, each artboard named by me. Each artboard has one textbox in it. Is there a way to take whatever name I assign to the artboard and print it...
View ArticleCustom Angled Triangles Question
I'm quite suprised that powerful Illustrator does not have any easy solution for creating custom angled triangles. Is there anybody help me to create a custom angle triangle script ?Thank you,Best...
View Articleungroup all groups on an active layer(JavaScript).
Does anyone know how one would go about ungrouping all groups on an active layer with JavaScript?
View ArticleUnable to work with this Compound Shape
Good people of the forums, I am working on a script that simplifies/consolidates art objects in documents that we eventually convert into FXG files. I have run into a strange problem with a compound...
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 ArticleScript to get names of placed images into text file for our database?
I know nothing about scripting in Illustrator, but am willing and interested to give it a try if this sounds doable. All we want are the names--just a simple list of the names, such as7009 LL.epsRsb...
View ArticleScript works Great, Pro-Tips appreciated.
This script is used to make a few changes that SOME of our die suppliers require. It works great. If you have a little time to look it over and give me some advice on best practices, consiseness etc....
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 ArticleNew to Illustrator scripting, looking to make a Compound Path from Existing...
I am wondering how to select existing paths (normal paths and compound paths) and make a new compound path. Google does nothing for me on this.... I have begun to understand the basics of targeting...
View Articlean Illustrator error occurred: 1346458189 ('PARM')
Hello everyone, I am trying to open some documents in Illustrator CS4 by javascript, walk through all layers including sublayers, doing something (for now just reading the layernames and showing them...
View Article