Illustrator script to open file in Photoshop
The Bridge SDK has a script to open a selected file in Photoshop.Can this be done from Illustrator instead? It seems that the cross-dom function open() should work in either an illustrator or bridge...
View Articleadding text to a text frame?
Okay, I have yet another question. I can see the text in a text frame with a script like this, var doc = app.activeDocument;var myTextFrames = doc.textFrames[0];var myTF_Content =...
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 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 ArticleHow do I make a symbol from selection?
I've got the below script, but it's not working. I'm trying to select all the art in the document on different layers, and create a symbol. So far I have the first part down, but can't figure out how...
View ArticleMoving items from a template file to active document
Hello Everyone, What I am currently doing is I will leave a template file open and I will have to go to that file really quick and copy what I have selected in that file, go back to the file I am...
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 ArticleHow do I replicate a shape programmatically (JS)?
Hi, Does anyone know of a way to replicate an path object programmatically in a script? I'm searching for something like JavaScript's .toSource equivalent...ThanksArtur
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 ArticleIs it possible to run program functions with javascript?
In a nutshell, I want to run clean up, but recording it to an action still makes me confirm it. This is a pain on batch items. I'm looking/creating a script that does the same thing as cleanup, but...
View Articlecompare a path item color
Is there a way to compare a pathItems swatch color? For example I have a layer named "032 Red" if the pathItem on this layer does NOT have a swatch color named "032 Red" alert the user there is a...
View ArticleChange containing layer
I want to change a containing layer for any given layer. More generally, parent N layers to one containing layer. How do I do this?
View Articleapplying a swatch to a pathitem
I am trying to apply a swatch to all pathItems on a certain layer. I have the code written to access the layer I want but I am not sure how to apply a specific swatch name to the pathItems on the layer...
View ArticleAll Group to Ungroup Script
Download Linkhttp://www.cyworld.com/be2u/2801831 FeatureThis Script is Can be easily ungrouping to all group items in the Document. if find Bugs or Error, contact to me plz. License typeFreeware...
View ArticleUndefined PDF Presets in Illustrator CS5
I'm encountering a problem when attempting to retrieve a list of PDF preset names in both AppleScript and JavaScript. Here are the steps I'm performing: 1) Launch Illustrator 2) Run the following...
View ArticleCan I get all objects/path items inside an artboard?
I've got a document with multiple artboards. I want to go through each artboard and note the positions of all pathItems inside. It's important to note the items in each artboard separately. Is there a...
View ArticleBreak link to symbol
If I right click on a symbol instance, I get a menu item, "Break link to symbol." How can I do that same thing in Javascript? 1) That is, how do I use Javascript to break the link between a...
View ArticleAccess XML_ID of pageItem/groupItem
Is it possible to access the XML_ID of a pageItem or groupItem via ExtendScript? For example a layer name may be 'Active' but it's XML_ID (as viewed when setting Preferences > Identify Object By...
View ArticleExtracting unique identifier for illustrator layers
Hi All, Multiple layers in an illustrator file can have the same name. So the layer name cannot be a unique identifier for layers. Is there a way to extract a unique identifier for layers through...
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 Article