Add Margins in Illustrator
I have made this little script to quickly add margins to an illustrator document and am posting it here to anyone that might find this helpful. The script will bring up a dialog where you can enter the...
View ArticleResolution check in illustrator
How to check the raster image resolution in illustrator through script?
View ArticleBatch export .ai files to pdf
Hi guys, I found a script that does the job, export tones of ai files to pdf, but I have some files which are in sub folders, and I was trying to find a way to modify this script to include subfolder,...
View Articlehow to read pdfpreset info
how to read/get the information of a pdfpreset using js?e.g to get the compatibility and preserveEditability value of "ABC" preset. Thanks much..
View ArticleConvert .ai to .doc
Hi, Can it be possible to convert .ai file into .doc file or any tool which will do this conversion. Thanks,Shail
View Articlenobreak for digitcharacter
I have tried to write a simple script to avoid breaking digits and following units, for example, "15 ml" should be in one line, not "15" in one, and "ml" in the next.Here is the code but I cannot...
View ArticleBridge to Illustrator
Hello everyone, I am working on a file saving script. I am trying to figure out how to send information from bridge to my illustrator script. I need to know the file path that is active in bridge, I...
View ArticleCS6+ executeMenuCommand, pattern swatch
Hi all, I'm trying to create a Pattern Swatch out of the Selected Object, so I'm using app.executeMenuCommand ('Define Pattern Menu Item'); this successfully adds the swatch to the swatches panel, but...
View ArticleCS6+ executeMenuCommand, Adobe Actions Batch
Hello everyone! app.executeMenuCommand ("Adobe Actions Batch");it will open a panel ,must to select a action and set other items,how to do it only...
View ArticleSelect items in Illustrator and scale
I have an illustrator document that has 2 layers. All I'd like to do is select all items in the document, group them, and scale them to 95% using javascript. I've tried a couple of examples I've found...
View ArticleJavaScript to prompt user to save as PDF
I am making changes with code to the file. I want the user to be prompted to save as a .ai file first. I have that down. Now I am wanting to have the user immediately be prompted to save as a pdf with...
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 Articlesvg to pdf
i have 100 svg files in folder , in that svg files artboard size is 234,1mm and 171mm it should save as pdf in A4(297^210mm) format same as that of svg file name , and in some svg file the file is...
View ArticleHow to dynamically update a dropdownlist after it's been created?
I'm trying to create a small GUI that gives the user the ability to select a layer from the list of layers in a document. Initial population of the drop down is easy, it's done at creation. But if the...
View ArticleMore complex pie charts
Hi,I'd like to create improved pie charts with effects like this without doing them by hand : I'm bad at scripting in illustrator, but I'd like some effects like the slice's size variations and the...
View ArticleText Replace ( i am getting error while replace Envelope Text ) Can anyone...
var active_doc = app.activeDocument; var dlg = new Window('dialog', 'TEXT REPLACE'); var gro =dlg.add('group'); gro.orientation = 'row'; var Orderno = gro.add('StaticText'...
View ArticleScripting for layers help.
please can someone help me? I have an illustrator file with text objects (not strokes) the text objects are numbers 1 to around 300, there are 2 * no.1, 2 * no. 2, 2* no. 3 and so on....
View ArticleConvert .ai to .doc
Hi, Can it be possible to convert .ai file into .doc file or any tool which will do this conversion. Thanks,Shail
View ArticleHow to get DefaultFillColor and DefaultStrokeColor?
Hi all, I'm trying to fetch the DefaultFillColor and DefaultStrokeColor values back into my code for Adobe Illustrator. I can set these two values just fine by creating a new RGBColor() object and...
View ArticleHow to judge the overlapping state of two objects?
How to judge the overlapping state of two objects?like this:
View Article