Script editor ? Brackets + Buildsys extension
Not feeling comfortable with ESTK's editor, and much more with Brackets (Edge Code) I was feeling constrained by the constant back and forth between both to just launch a script. That was before i was...
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 Articlemm -> px horizontalScale rounding
Hi all. Quite new to Ai's scripting stuff. I'm having a complicate time with Ai's save to jpg options vs artboard sizes and units conversions. Say, i have a doc (from my client), which they inherited...
View ArticleDocumentation ?
Where do i have a chance to read precisely what artboardRect is made of ? Couldn't find in ESTK's DOM view tool neither the javascript pdf. I was expecting something like : PathItems.rectangle (top:...
View ArticleError 21 (Changing color on text)
http://forums.adobe.com/message/5580527#5580527 Carlos wrote a script in response to the above thread. It changes CMYK black, and grayscale black to a swatch called "spot black". It's awesome, but it's...
View ArticleAccessing the elements of a page item
Good people of the Adobe forums, I am working on a script that performs a series of things on all of the artwork in a document. At one point, it needs to compare the fill color of every item to a...
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 ArticleRetrieving the selected anchor points coordinates.
I have read the scripting guide,and learned about finding coordinates this way: var aDoc = activeDocument;var topObject = aDoc.selection[0];var coord = topObject.pathPoints[0].anchoralert(coord[0]) I'm...
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 ArticleAi Packaging Script
Ok.. I'm sure this has been posted before (already searched, didn't find however), but does a file packaging script exist for AI? (one that collects all linked images and fonts and places them in one...
View ArticleMath.cos Math.sin = Math.HELP
Hello Everyone, I was hoping to create a JS script to move objects away from common center based upon their current position. I was thinking to use a single selected path item as the center based on...
View ArticleCreate CDATA in my XML?
Howdy! What if for some reason a person wants to actually make an XML file and stick some<![CDATA[]]> in it? I looked through some manuals & OMV fairly quickly to discover no methods for...
View ArticleBatch Resize Artboard?
Hi all! I have zero knowledge in scripting so help would be greatly appreciated. I exported 60 frames in after effects and i've applied a batch trace in illustrator. This worked except that i created...
View ArticleCustom Swatch Palette (beta)
Hi yall, I created this custom swatch palette which allows a person to keep swatch info in this palette and instantiate it in documents. The palette can store notes about a particular swatch and there...
View ArticleRelink many files at once
I was wondering if anyone can help. I'm using Illustrator CS6. I have an artboard with 200 of the same placed file. I now want to use this same layout for 30 other views, they are the same size, but...
View ArticleScript UI breaks connection with AI Document?
Last week I wrote a simple script that interacts with my document and exports layers as images. The script works great, but I thought I'd add a nice UI to it before I release it to the world, so I...
View ArticleHow to select needed objects [CS6-JSX]
i try to move all particular objects to new layerso first i try to select items by strokeWidth. var mDoc = app.activeDocument; var allObject = mDoc.pathItems;for(i=0; i<allObject.length; i++){ if...
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 ArticleCopy text for filename
I've looked around for this but haven't found much. I have a server with thousands of print proof sheets, and since the beginning, long before me, the files were saved with verbal descriptive names. It...
View ArticleLink to a web page from AI javascript?
I've written a script with a ScriptUI interface, which other people will be using. I'd like to include a 'help' button in the interface, which ideally would connect to a web page with more details....
View Article