Extensions. But when I open extension "B" from extension "A" it should show name as "B" on panel">I open extension named "B" from extension name "A" using method...
I open extension named "B" from extension name "A" using method requestOpenExtension. But I dont' want that extension name "B" to be display inside Windows--> Extensions. But when I open extension...
View ArticleEventListener ("click", function () not working anymore
I've been working on a script that has hundreds of radiobuttons put into groups, and the groups are on tabs. They have worked fine and all my event listeners have been working. I even created for...
View ArticleIs there a way to show the transparency grid in Extendscript?
I was able to find "transparencyGrid" in the OMV and documentation, although it looks like it's only for new documents, and only logs color. I like all my files to open with the transparency grid...
View ArticleAdobe Illustrator Tags
I have noticed the tags object is available to the document object, the pageitem object. Does anybody use these, and is there an example of using the 'tag' which someone would be willing to share for...
View ArticleScroll bar for tabs
I've been working on a script that can pull from our templates that we use and since there are groups for templates I created a tabbed window that pops up with radio buttons. var businessTab =...
View ArticleFill array with file names
What am I missing? I've got alerts that should pop up if it works and if it fails but instead it does nothing, I'm sure its possible to create an array that is made up of all the file names of a...
View ArticleHow to sort objects alphabetically (inside of a layer)?
How to sort objects alphabetically (inside of a layer) on layer list?I have already tried scripts for Layer sorting. They work indeed for the layers, but not the objects themselves packed inside.
View ArticleCutting a circle
Hi all, I need to make shapes like this based on a value for graph purposes - usually I would just create a cutting shape based on trig (this shape representing around 60%) and subtract it from the...
View ArticleScript for making an object the artboard size.
I am looking for some help on trying to make an object the exact size of the artboard. This is something I do on a daily basis for several different reasons and it would be very helpful if this can...
View ArticleHow to extract images from adobe illustrator using extended javascript
hi,I am working on adobe extended javascript , and I need to extract all the images from artboard(adobe illustrator).and save co-ordinates of the images in the artboard to a text file.Thanks
View ArticleInsert Edit Mode
Yikes! I must have pressed a key-combo that got me into an insert edit mode (deletes next char right of cursor as it enters what you type). Can't get out without a restart. Nothing in Prefs or...
View ArticleAS) export single page PDFs from multi-artboards
I'm not exactly sure where my new problem lies. I'm trying to save out single page PDFs from an Illustrator CS4 document with multiple artboards. Each artboard should become a PDF. I can get a multi...
View ArticleExporting individual layers.
Hi all, I was wondering if there is currently a script to export each layer of a document to a saved document of it's own? CHeers,-Ford
View ArticleRename all layers
Hi! I've a problem to solve this issue.I need to rename a lot of layers (near 1000). I've found 2 scripts.First select object in the document, I've little edit it to cycle selection and remove...
View ArticleWhat is the FASTEST way to identify colors used on a layer?
Hi All, Is there any "faster" way to identify colors used on a given layer other than to iterate through the layer's pageitems? I am optimizing a few scripts and am looking to squeeze milliseconds as...
View ArticleCan javascript execute pathfinder commands?
Can javascript execute menu commands such as pathfinder options?
View ArticleCreate element at center of artboard, move to next artboard and repeat
Hey All! I've been lurking around here for quite some time and i've always been able to find what i needed. Until now. =) I'm writing a Javascript to create multiple rectangles on the center of the...
View ArticleJavascript to determine named fill/stroke color of pathItem[index]?
I'm attempting to build a preflight of sorts for my Illustrator workflow (since for some reason.. preflight in illustrator doesn't exist...). Essentially i need to loop through the pathItems on each...
View ArticleHow does Illustrator calculate the Em Box Height?
I'm trying to determine how Illustrator calculates the baseline position from the top of the bounding box for a Point Text object. It appears to be the same distance as an Area Text object with the...
View Article