Break 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 ArticleWork in CS2 slow
Hi. I wrote the following code to work with pathitem.It works well , but slow in CS2.And after I executed the program, when I restart Illustrator,there are no palette window opened, even before...
View ArticleHow can I make two columns in DropDownList
like thisI remember that the solution met.Exceptalignment spaces in a text string.
View ArticleHow do I scale highlighted illustrator object in extendscript
I'm trying to scale objects on a page by a set amount using a script. I can highlight the object and set a transformation matrix, but I don't know how to apply it to the highlighted object. The...
View ArticleScript to add multiple Fill to a TextFrame
HiIs it possible at create multiple Fills for an individual TextFrame RegardsWarren
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 ArticleDetecting artboard size for batch export
Hello all, At the moment I have an Illustrator document with multiple artboards of different sizes. I am trying to write a script that loops through the artboards, detects the artboard width, and...
View ArticleCopy artboard (and art) to another document
Is there a way to write a script to copy a selected/chosen artboard (and it's contents) to another opened document, placing it in exactly the same place on the global x/y coordinates? I'm either...
View Articlekey object (e.g. to align to), how can i get it programmatically from within...
I am attempting to write a Javascript extension that makes all objects the same size as the key object. I could so far not find a way to uniquely identify the key object in the selection array. The...
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 to check if a path fits inside of another path?
I've just been told that I need a script that will check and see if a path fits entirely within another path? In my case, I need to see if a GroupItem fits within a circle of a specific size. I don't...
View ArticleCan I execute a menu command in illustrator CS5 using extendscript
I've seen it in Indesign but can't seem to get it to work in illustrator. If not could anyone tell me how I would group all items together on a layer run a function then ungroup them again. I'm fairlt...
View ArticleDuplicate object until artboard boundary is reached
Hi Everyone! I am new to JavaScript (4 days studying) and I am trying to make a object duplicate until artboard limit is touched .Is this a correct way of doing it? ---if (app.selection[0] != null) {...
View ArticleChange font size of a text item in illustrator extendscript and oth attributes
I have a series of text items on a page, some of them are grouped. I would like to go through theses grouped items and set the point size of the type to 8 point. I've don this for (var i = 0; i...
View ArticleHow to get the name of a TextFrameItem
I'm referring to Page 220 of the Illustrator scripting reference. http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/illustrator/scripting/CC/Illust rator%20Scripting%20Reference%… All of the...
View ArticleApplying a strokeWidth that has value of 1 decimal place
I'm trying to apply a stroke width to and item with the code: item.strokeWidth=0.3 If I us a whole number like 1 or 2 or three then it works fine. The moment I the value 0.3 then nothing happens....
View ArticleHow TO Convert AI to AI JPG GreyScale
I have already Export to AI to JPG But not able to JPG Grey Scale using illlustrator.dll in csharp currently my code for conversion to ESP GreyScale if some one know how it would be done kindly give...
View ArticleChange graph data and objects through script
Hi. I'm working on a document where I had to create several pie charts on Illustrator. I then colored each pie's slices with swatches from a custom swatch group. Now I need to change the order of the...
View ArticleHow do you enable/disable visibility of PageItems?
Layers have a boolean property called "visible" that enables and disables the eye ball on the layers panel inside of Illustrator. I was wondering how you change the visibility of individual elements...
View ArticleChange a font using extendscript in illustrator
I have a script that loops through text items on an illustrator page and when it encounters one of a certain size it changes it to a different point size. I would also like to alter the font. The code...
View Article