Dimension Illustrator CS6
Does anyone know of a script that will automatically put dimensions on rectangular shapes in Illustrator CS6?
View Articlevertical scrollbar does not work in a nested dialog
In Adobe Illustrator CC 2014 Win 7 and Mac OS X 10.8 function dropdown2(win_location, win_width, h50, list2) { var ww = new Window ("dialog"); var g = ww.add ("group"); var panel =...
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 ArticleSVG-files into one layered AI-file
Hello good guys!Although I'm new to scripting Illustrator, I'm looking for a script that can help me – and merge 10 SVG-files into one layered AI-file. I get a lot of projects which contents 10...
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 ArticleactiveDocument.saveAs - avoid break by ESC key
Help please,even accidentallypressedESCabortssubsequent function saveAsfor example, inthe previous dialogcould beScriptUI.environment.keyboardState =null;but no
View ArticleBatch creation of variables
A client works with CS4 on a map with about 2000 text boxes that need to be exported for translation. Is there a way to batch process the file so that all the text boxes are assigned a variable for...
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 ArticleScript to make multiple layers in one task
From time to time I find the need to make many empty layers named A-Z. I use this when preparing a font drawn in Illustrator for moving to FontLab.I have not found any ready made script to do this and...
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 ArticleJSX File Type Associations...
Got a newer machine to work on and I've noticed that when I double-sclick on a JSX script, the script opens up in ExtendScript. On my old machine, when I double-clicked on a script, it would pop up a...
View ArticleJavascript Palette
Is there a way to make a palette that does not close but still allows the user to modify the document in Javascript or applescript? I have tried declaring the window as a palette but it still closes...
View ArticleRelative Stacking order of Sub Layers and items
I want to get the items in a layer sorted in their stacking order (including any sub-layers). For example: Layer 1 item A Layer 1a Group B item C In the example above, I would get back an...
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 ArticleSVG-files into one layered AI-file
Hello good guys!Although I'm new to scripting Illustrator, I'm looking for a script that can help me – and merge 10 SVG-files into one layered AI-file. I get a lot of projects which contents 10...
View ArticleLock layer OR other layer (if name is different)
Hi! Just started to writing my first scripts and trying to get around this: var layNam = app.activeDocument.layers; layNam.getByName('Info').locked = true;...
View ArticleCan't rasterize object with hole inside
Hello everyone. I've used thisone part of script for rastering objects. var docPathItems = app.activeDocument.pathItems; var myDoc = app.activeDocument; // If a docuement is open if (...
View ArticleSorting Layers
I have a map of the US that is broken down into counties. Each state has its own layer and the counties are sublayers. I am currently going through and naming all of the counties, but I need to be...
View Articleexecute JSX in MAC
Hi All,I want to execute a .JSX file by using Mac Terminal Command like i am doing in MS Windows by using following cmmand: C:/ start illustrator.exe Script.jsx its working fine but i want to do...
View Articletake text in center of object
Hello everyone.I have a task to create text in center of any object.For example I have simple objectAfter using my script we can see effect like thatI use creating new areaText for it. BUT i cant use...
View Article