Illustrator Macros/Scripting
Hey guys is it possible to create macros in illustrator, or how would this be achieved via the scripting.Basically i have a c# application that contains alot of pictureboxes all with images in them. i...
View ArticleHow to automate the flatten transparency in illustrator?
How to automate the "Flatten Transparency option" in illustrator via javascript. Please share with me. Thanks
View ArticleSimple InDesign script -> Illustrator help
I have this script by Peter Kahrel that reverese the order of letters in InDesign. I need an Illustrator version of it. Can anybody help? ---------------------//ReverseText.jsx//An InDesign Javascript...
View ArticleScript execute Action?
How in gods name do you execute a Action with a script?I found this is sometimes easier than trying to script my copy paste crazyness. The illustrator script docs say, oh you can call a action, but...
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 ArticleDimension Illustrator CS6
Does anyone know of a script that will automatically put dimensions on rectangular shapes in Illustrator CS6?
View ArticleChange font in Illustrator cs4 js
I need to assign specific font to my text and it doesn't work. What am I doing wrong: var my_OUTSIDE_TextFrame = myInstrLayer.textFrames.add(); my_OUTSIDE_TextFrame.geometricBounds = ["1.6 in", "1...
View ArticleExtracting data from Excel To Illustrator javascript or vbscript
Hi all-I was wondering if there was a way to extract data from Excel to be used in Illustrator. I know there is an option of variables and xml, and I don't want that. I've seen and tried out how to...
View ArticleBatch combine files into one illustrator document - how to open target document?
I am making a script which will: 1) Open a folder of Illustrator files2) Open each file in the folder (these files are called the source files)3) Select all the contents of the source file4) Copy the...
View Article1346458189 ('MARP') Error: Unlocking layers
Hi all, I have a script that is used to tidy up a file before it is sent out. As a part of this i need to be able to unlock layers and make them visible, i have used this sample script that I have...
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 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 ArticleHow to bring palette (progress bar) to the front?
Hi all, I am having a problem where my progress bar for my script will not display correctly, i believe this is because it is not the focused window.I was wondering if there is anything in illustrator...
View ArticleDocument preset & New document - Illustrator - Applescript
Hi !Here is the problem i would like to resolve with appelscript.I want to make a new file with units (millimeters)I know i need to make a preset before making a new document ; but i don't know how to...
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 ArticleChange Folder.current to location of script (.jsx) file?
All, I'm trying to use some images in my ScriptUI dialog, but I want to use a "relative" path name, and I can't seem to get it to work.For example, this myScript.jsx works just fine, but as you can...
View ArticleMove layers to new artboard
Hi everybody, I'm trying to create a script via javascript for Illustrator. My problem is : I have a AI file with multiple layers, i want to create one artboard per layer, in order to export a...
View ArticleHow do I make a custom shape using Javascript?
I would like to create a trapezoid shape and be able to color it in, just like I'm able to do with the PathItems (e.g. rectangle, ellipse). I would like to be able to do this in Javascript. I was...
View ArticleCreate a guideline
Is there a way to make a guideline with script that is the same as the ones you drag off the ruler? The ones you drag from the ruler are the width or height of the whole pasteboard and can never be...
View ArticleAvoiding "PDF Modification Detected" blocking dialog
Hello, I am working on an Illustrator script opens an AI or PDF file, extracts some information, then converts it to a JPEG. It is designed to run unattended in batch mode, and sometimes is used to...
View Article