How to export each raster image as pdf
Hi all,Can anybody please help with creating a script that will export each raster image in the AI document/layer as a PDF with certain save options ? Right now im doing it manualy, turning on/off each...
View Articlesplit txt-file into 3 xml files
I'm trying to create 3 xml files from 1 txt file in javascript. What i have sofar: A text file containing: GP0006896###SunGold-3 small###00###Zespri Service Centre NV###KLT0000110###16950###tray Kiwi...
View ArticleMaking rectangle as the same as bounding box's size?
Can anyone help me on this? It'll be really neat for everything.
View ArticleDynamic Spell Checking
Hi All, i am using Adobe Illustrator CC is there a way to make it have dynamic spell checing underlining with a red squiggly line in Illustrator? like programs such as MS word? Regards,Vinoth
View ArticleMerging diagonal text together
Hi I'm trying to merge these groups of text together but i'm having trouble keeping the spaces after i merge it with my current code. BEFOREAFTER here is my current code var textLayer =...
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 ArticleReworking Photoshop layer renaming script for Illustrator
The Photoshop scripting guru Paul R over at RetouchPro has created a really cool script to batch rename and number selected Photoshop layers. I haven't found anything similar on the Illustrator side....
View ArticleMoving objects jsx?
Hello everybody. Is there any way to move a object using its width? ex: "move to left a box with 10cm(width) using this value (10cm)". But I want to capture the width of any selected object.Another...
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 ArticleHow reset the rotation of a PageItem (or access it's matrix at least) ?
I'd like to apply rotation to a few PageItem instances, but would like to reset the rotation first so it doesn't accumulate when I run the same script multiple times. I'm having a hard time trying to...
View ArticleNew to Illustrator scripting, looking to make a Compound Path from Existing...
I am wondering how to select existing paths (normal paths and compound paths) and make a new compound path. Google does nothing for me on this.... I have begun to understand the basics of targeting...
View ArticleIntermittent Javascript MRAP error
I have a for loop which moves all elements of an "Artwork" layer to a "working" layer so that I can edit the elemets without a chance of affecting the original layer: for (var...
View Article$300 For 2 Photoshop/Illustrator scripts- Applescript Preffered
I have been meaning to write these myself for months, but have been too busy, so we're trying to hire someone. We would prefer these to be mostly Applescript, because I know Applescript and will be...
View ArticlePathItems index method
Hello all, could anyone give me some examples of how to use the index method pathItems thank you very much
View ArticleShear / Skew using shear angle and axis angle
Hi, I want to skew/shear the selected object using shear angle and axis angle. I am using below code for shear the object, var skewMatrix = app.getIdentityMatrix();skewMatrix..mValueB = .5 But i dont...
View ArticleExcel data to construct illustrator object
Problem:How to read real number data from selected columns in an Excel spreadsheet into an illustrator javascript array variable, so that then I can use this information to construct an illustrator...
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 Article"Type Options" in "Document Setup" scriptable?
I would like to create a script (have not done one before) that changes the values of the superscript and subscript size/position in "Document Setup". After looking around, I did not see anything even...
View ArticleHow to save illustrator file without save as dialog ?
I' trying to save a file using app.activeDocument.saveAs(savepath); and i am doing it in a loop on multiple files, but every time it will just show save as window and i have to do it manually. Any...
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 Article