Javascript errors started with the new illustrator cc 2014 update
I have been running Javascripts for many things in my daily work flow in illustrator for years now.With the latest update of illustrator cc 2014 I am now getting errors on a regular basis.Has anyone...
View ArticleBreak 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 ArticleIllustrator VBA scripting 101 - via Excel
This post will attempt to introduce newcomers to Illustrator Visual Basic Scripting (well, not actually vbs, but rather tru VBA, Visual Basic for Applications). I personally prefer vba over bvs for a...
View ArticleFind a specific Sublayer and move to top level layer
I have a lot of illustrator files that are organized by a template size. The layers are setup so that the top level layer is always Template. However the sublayer I need to move to the top level could...
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 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 ArticleAi Packaging Script
Ok.. I'm sure this has been posted before (already searched, didn't find however), but does a file packaging script exist for AI? (one that collects all linked images and fonts and places them in one...
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 ArticleSplit Text into Layers
I was wondering if anyone is aware of a script that is able to do the same as this photoshop one http://www.agasyanc.ru/text-splitter, I would use that one in photoshop but its not working in CS6. I...
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 ArticleBreak text area into text lines
I want to break text area with line breaks in it into seperate text lines using return as delineator. for example "Line 1Line 2Line 3" I would like as "Line 1""Line 2" "Line 3" I could probably write...
View ArticleExporting an .ai file to a bitmap file
In Illustrator Scripting (VBscripting), how can you export an ai file to a bitmap file? In Illustrator you can open an ai file and by selecting the Export option you have a choice of formats and one of...
View ArticleSet unit preferences (Javascript)
I can't find a way to set the unit preferences for Illustrator CS6/CC using JavaScript. I found that this works (setting units for stroke):var units = 2; // 0-inches, 1-milllimeters, 2-points...
View ArticleAccess Separations Preview Panel
Hi Forum, Im new to illustrator scripting. Would anybody help me to access "Separations preview panel" through script. thanks. looking forward for your fabulous support on my request. thanks.
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 ArticleI need a javascript made. Where do I turn to?
I would like a CS5 compatible script made that exports 2 layers (image and labels) to HTML/CSS: JSX script hides txt, renders img, then crams txt into divs.I want to run this script on many AI files....
View Articleungroup all groups on an active layer(JavaScript).
Does anyone know how one would go about ungrouping all groups on an active layer with JavaScript?
View ArticleAnti-aliasing Type Optimized/Art Optimized on PNG export
Hello there, I'm modifying a javascript that makes an export of each layer contained in an Illustrator document and I want to specify the method used for anti-aliasing (either Type Optimized or Art...
View ArticleHow to get the everypageitems top,bottom,let,right values without selecting
Hello all, Is it possible to find out the every PageItems values of top, left, right, bottomwithout selecting that particular pageitems through scripting. Already I got through Visual basic. But...
View Articletype preview dissappeared
After I updated my Mac to IOS X Yosemite, I opened Illustrator CS5 and my font list no longer displays the fonts available. The type box expanded looks like one big gray rectangle. When I scroll over...
View Article