Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Browsing all 12845 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Is 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 Article


Image may be NSFW.
Clik here to view.

Is 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 Article

Extract 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 Article

Why 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 Article


Script 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 Article

Image may be NSFW.
Clik here to view.

Illustrator 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 Article

Resizing 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 Article


Hello, 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 Article


Image may be NSFW.
Clik here to view.

Script 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 Article

Image may be NSFW.
Clik here to view.

Can'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 Article

Image may be NSFW.
Clik here to view.

take 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 Article

Script 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 Article


importPrintPreset, 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 Article

Changes 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 Article

ScriptUI 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 Article


Rounding 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 Article

I 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 Article

Add 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
Browsing all 12845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>