Is it possible to set xmp metadata to pageItems?
Hi All, Is it possible to set xmp metadata to pageItems?Like there is a way in photoshop to set xmp metadata to layers.Thanks
View ArticleChanging text and keeping the font style the same
Using Illustrator cs 5 / JavaScript I'm having a problem with keeping text styles like bold and Regular(not bold) from change.here is the problemsay you want to change text likeScripting is not fun! to...
View ArticleHow to log the ExtendScript Tool Kit console prints to a Text File
Hi Chaps, I want to put prints in my whole Script and take the logs of the script.To do this I need to log the entire console output to a Text file.Can somebody please tell me how to write the console...
View Articleapp.activeDocument.activeDataset.name
Hi, I've set up an action that I'm using to batch my process. I iterate through the dataSets[i] that have unique names. I am trying to determine the name of the current index of the datasets[i]. I am...
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 ArticleAssigning Text Fields Variables via VBScript
I'm looking to complete the first challenge of my project of repopulating text fields with translated text automatically. To do this I need to pull the text down from an Ai file. However, each text...
View ArticleVB.net scaling / Resize and export as SVG
Hi, I'm using Illustrator CS4 and VB.NET 2008. I'm doing a fairly simple operation in VB.net using Illustrator. I load an .AI file that was saved out of Illustrator and then resave it as a SVG file....
View ArticleCutting a circle
Hi all, I need to make shapes like this based on a value for graph purposes - usually I would just create a cutting shape based on trig (this shape representing around 60%) and subtract it from the...
View ArticleExport multiple ARTBOARDS to multiple JPGs (AppleScript)
I´m aware that Illustrator doesn´t have multiple artboards options for JPG as it does with eps, or other formats, but is there any workaround for this??Looping current artboard and exporting them to...
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 ArticleCreate Fitted Artboards from layers?
Hey everyone, Does anyone know of a script that will create artboards for each separate layer? Thanks in advance, Andy
View ArticleA Script to Find and Replace Layer Names
Are there any scripts to find and replace layer names? There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes,...
View ArticleSplit Text into Layers
I was wondering if anyone is aware of a script that is able to do the same as this photoshop one http://www.agasyanc.ru/text-splitter, I would use that one in photoshop but its not working in CS6. I...
View ArticleSelect an object in illustrator using extendscript
I have a drawn rectangle on an illustrator document. In the layers menu I have given it a specific path name (outerBox). I would like to select this item and return its particular properties eg height,...
View ArticleAppending metadata to a file
Hi, I found this script to write XMP metadata to an open file, but it does not seem to work for me in Illustrator CC. The error message is "XMP exception: Source and destination XMP must differ". Is...
View ArticleExtendScript try/catch difference when script ran from ESTK and Illustrator
Hello, I've written an ExtendScript for Illustrator using the ExtendScript ToolKit (ESTK). This scripts works really well when running it in Illustrator from the ESTK (using the target application...
View ArticleScript: rename layers?
Hi, is there a quick way how to renumber or batch rename all layers in a file so they would be named in consequent numbers? Doesn't have to start from exact number, I was wondering if maybe there is...
View ArticleBatch replace color without using swatch as source
I've searched these forums and the rest of the web trying to find a method to do this... Actions don't cut it (if Actions were able to record the "replace color" dialoge it would be fine) so I've...
View ArticleBreak text area into text lines
I want to break text area with line breaks in it into seperate text lines using return as delineator. for example "Line 1Line 2Line 3" I would like as "Line 1""Line 2" "Line 3" I could probably write...
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 Article