Dimension Illustrator CS6
Does anyone know of a script that will automatically put dimensions on rectangular shapes in Illustrator CS6?
View ArticlePlace a circle wherever I click.
I'm new to scripting and I have a UI with a toggle button. I want to place a circle where ever I click (only when toggle is active) Is this possible.
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 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 ArticleDialog in Illustrator CS4 js
Hi, I have dialog script that I am using in InDesign to choose a pdf file to place into the document and I need exactly the same script in Illustrator, but I have a hard time to translate it into...
View ArticleHow do I batch-rename objects/paths (not just layers)?
Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name,...
View ArticleHow do I copy active artboard from Illustrator to Photoshop?
Hi, I need to copy the active artboard from Illustrator to Photoshop. Can this be accomplished? I got a handle to active artboard like this //get artboard collectionvar myArtboards =...
View ArticleExtract text from illustrator for translation then replace with translated text
I am trying to find a way to expedite translations of our drawings. Each drawing has a series of callouts showing what that piece of the drawing is via text. I would need to do 100's of drawings for...
View ArticleSave All?
This may be a stupid question, but is an existing to Save All open documents? If not, is there a way to script this? I often make a bunch of changes in documents at once and it would save a lot of time...
View ArticleFinding pathItems that have no fill and no stroke
Hey Everyone, So here's what I wrote to try and find and delete all pathItems within a document that lack a fill and lack a stroke. var doc = app.activeDocument; for (i=0;...
View ArticleScript to round fractional CMYK colours?
This script must exist but I'll be damned if I can find it!!! I work in a large printing company and we get artwork from all over that has dodgy CMYK colours (quick convertions from RGB obviously). We...
View ArticleIllustrator Script to Rename Artboards based on Artboard Size
Hi there, I was wondering if anyone has a script they'd like to share which would rename all artboards in a document with their size? ThanksEric
View ArticleTrying to delete everything without a stoke or fill
var doc = app.activeDocument; for(var i=doc.pathItems.length-1; i>-1; i--){ if(pathItem.filled==false && pathItem.stroked==false) //I think this is where the error is{ alert("Found...
View ArticleIllustrator VBA scripting 101 - via Excel
This post will attempt to introduce newcomers to Illustrator Visual Basic Scripting (well, not actually vbs, but rather tru VBA, Visual Basic for Applications). I personally prefer vba over bvs for a...
View Articleis there any way to set "Scale stroke"
does the document have a property that can be set to true or false for scale stroke? I didn't see it in the documentation, maybe there is another way?
View ArticleConvert .ai to .doc
Hi, Can it be possible to convert .ai file into .doc file or any tool which will do this conversion. Thanks,Shail
View ArticleHow to divide all textFrames in one-character-per-textFrame?
Hello: How to divide all textFrames in one-character-per-textFrame? Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s". Help, please.
View ArticleCan I make starting point same to every version of Illustrator?
Hi. I made a simple script. var docRef = activeDocument; var X = 0; var Y = 0; var rect = docRef.pathItems.rectangle(X, Y, 10, 10); And, It makes different result between CS3 and CS5.(See below...
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 Article3d Extrude & Bevel and Texturizer Settings
Hi All, I can't find in the api reference guide 3d Extrude & Bevel or Texturizer Settings.Is there any way of scripting these methods on a path item. if so can you please include a small example.I...
View Article