How close all panel of Illustrator?
I see , if close all panel of Illustrator , my script will execute faster.Can i close all panel of Illustrator by Script?How close all panel of Illustrator?
View ArticleIs there a way to select all text objects containing specified character?
Is there a way to select all text objects containing specified character? For instance,My artwork consists of dots and numbers.Dots are on separated text frames, so are numbers. I would like to select...
View ArticleIs it possible to use AI "selection sets" in script and scriptUI?
Wondering is there way to use those selection sets that found from Select menu in script? Using this list in ScriptUI where I can select them. This would help me to use selection while I'm in "dialog"...
View ArticleExtract text from illustrator for translation then replace with translated text
I am trying to find a way to expedite translations of our drawings. Each drawing has a series of callouts showing what that piece of the drawing is via text. I would need to do 100's of drawings for...
View ArticleWhy performance of Illustrator CS6 slower than Illustrator CS5.5?
Ex: Process get text of TextFrame has 657 characters:Dim t1 As String Dim t2 As String t1 = DateTime.Now.Minute & " " & DateTime.Now.Second & " " & DateTime.Now.Millisecond Dim text...
View ArticleScript for Selecting Open Paths in Illustrator CS6
I have created this script for selecting open paths in illustrator cs6 as the graffix plugin is not working under CS6. Just save the following text in /Applications/Adobe Illustrator...
View ArticleIllustrator Actions (Unlock All Layers) not persistent
Hi allI hope this is the right section to post this.But like the title says I have problems with Actions and the Unlock All Layers. As soon we shut down Illustrator and start it up again this part is...
View ArticleResizing selected objects
Ok, so I am trying to write a script that resizes an object that is selected. I have two objects selected, the one on top is a group item, the one below it is a rectangle. I am trying to resize the...
View ArticleHello, Is there a script that I can change all the colors of a layer in to 1...
Hello, Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?
View ArticleScript to Rename Artboards with Layer Names
I'm looking to create a script to batch rename a number of artboards. - I have 100 named layers.- I have 100 artboards.- I would like to rename the artboards to match the layer names.- The layers are...
View ArticleCan't rasterize object with hole inside
Hello everyone. I've used thisone part of script for rastering objects. var docPathItems = app.activeDocument.pathItems; var myDoc = app.activeDocument; // If a docuement is open if (...
View Articletake text in center of object
Hello everyone.I have a task to create text in center of any object.For example I have simple objectAfter using my script we can see effect like thatI use creating new areaText for it. BUT i cant use...
View ArticleScript to convert proof to output colours
I am a freelance designer for a small family owned company and I do designs that are eventually printed on a Roland Digital printer and sublimated onto fabric. At the moment, we use two sets of...
View ArticleimportPrintPreset, is it broken?
Hi everyone, has anyone had any luck with importPrintPreset()? I can't get it to import any presets, I get no errors, it just doesn't do anything... var idoc = app.activeDocument; var file = new...
View ArticleChanges in CS6
OMG! the CS6 DOM additions are _________. (fill in the blanks). 2 Enumerations- Compatibility.ILLUSTRATOR16- ExportType.TIFF 2 Methods- PlacedItem.relink()- Application.sendScriptMessage() 1 Data...
View Article[JS] CS6+ executeMenuCommand
Hello together, since CS6+ there is possible to executeMenuCommand (menuCommandString: string)Executes a menu command using the menu shortcut string. Question 1:Who knows a way to read all the...
View ArticleScriptUI palette can't access document
Hi, I've recently started Illustrator scripting for my own purposes, but it is sometimes difficult to transfer InDesign knowledge.Could anybody please tell me what's wrong with the following trivial...
View ArticleRounding stroke thickness to nearest decimal?
I have a project where many objects have been scaled up and down during the creation of the artwork. And I'm left with some lines that are .9581 pts and some that are 1.039 pts. Just because I'm a...
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 ArticleAdd swatch throwing error 1200
I have a simple script which is attempting to add a swatch. However, it is throwing "Error 1200: an Illustrator error occurred: 1312914990 ('NA~.') Line: 18 -> newSpot.colorType = ColorModel.SPOT;"...
View Article