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

Image may be NSFW.
Clik here to view.

fitArtboardToSelectedArt and saveASSVG is not working

Hi Experts, I have a problem in the below script, the script will execute the "fitArtboardToSelectedArt" function after Export the SVG file in output folder, After I opened the output folder files, not...

View Article


Imagetrace Script / doesn't recognize options / wtf preset number

Hello, I'm totally desperate because I need to get an imagetracing script to work and it somehow just won't. Here's the deal. I need to adjust the options for the trace command. There are 2 ways I can...

View Article


Image may be NSFW.
Clik here to view.

Select all anchor points by using script

Hello everyone. i have some difficulties fith selecting path. After i draw shape with blob brush tool i need to copy an interior path. i do this action many times so help me guys.

View Article

Finding bounds of nested clipping paths...

This topic has been touched on before, muppet & sonic have pointed me in the right direction, but I'm stuck right now.... Seeing as how "saveMultipleArtboards = false" is broken in CS4, and...

View Article

How to check if a path fits inside of another path?

I've just been told that I need a script that will check and see if a path fits entirely within another path? In my case, I need to see if a GroupItem fits within a circle of a specific size. I don't...

View Article


What is the FASTEST way to identify colors used on a layer?

Hi All, Is there any "faster" way to identify colors used on a given layer other than to iterate through the layer's pageitems?  I am optimizing a few scripts and am looking to squeeze milliseconds as...

View Article

Batching In Illustrator??

In PhotoShop CS3, you can select File/Automate/Batch, and run an Action on an entire folder.  I don't see that option in Illustrator CS3?  Is there a way to run an action on an entire folder? I'm...

View Article

Is it possible to assign a colorprofile to a document in javascript?

I'm trying to assign a colorprofile (Coated FOGRA39) to my document trough javascript (document presets?).Is it possible? Cheers Daniel

View Article


Is it possible to transform a selected gradient in javascript?

var omf = 2.834645;var moveMatrix = app.getTranslationMatrix((-10*omf), (-10*omf));var rotateMatrix = concatenateRotationMatrix( moveMatrix, 0 );var totalMatrix =  concatenateScaleMatrix (rotateMatrix,...

View Article


moving all layers into a single layer

Hello, I'm new in scripting and i need to make a script that moving all layers into a single layer( in Illustrator i press CTRL+A then CTRL+G in layers and works) but i need that in scriptPlease could...

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

How to construct a Rectangle element

I would like to use the Rectangle object described in the help to ExtendScript CS5: >  Rectangle >  Adobe Illustrator CS5 Type Library >  Describes a rectangle. This class is also a...

View Article

How to "Place as linked file" (not "import") a multipage PDF file on a single...

ILLUSTRATOR CS4 Hello, I often use the import multiPDF script from Carlos Santo and it works great.But i sometimes get multipage PDFs from customers only with text, and the fonts are so rarely...

View Article


Iterate shapes and convert them to Compound Shapes

In order to keep shapes as shape layers in Photoshop when exporting from .ai to .psd, one has to convert all shapes to Compound Shapes.At the moment, i'm using an action that converts the shape, then...

View Article

Is it possible to have a keyboard shortcut run a script with CS6?

I see there is an option for it to go to "other scripts" with a keyboard shortcut, but that really doesn't help much. I want it to play a specific script that is already loaded. Thanks in advance!!

View Article


Image may be NSFW.
Clik here to view.

Javascript to make selection of top level group?

Does anyone know of a way to select a top level group by index? For example, i have many files with deeply nested groups and i want to select all artwork in only the top level groups and create an...

View Article

Create artboard around group, unless there's a clipping path, then create the...

Hello again everyone. I've been able to work out a bunch of this code from other people's questions, but i've hit a snag in my if/else clause structure.. I need to make an artboard around each top...

View Article


Javascript - Place text files

Hi, I have multiple text documents in .TXT, .RTF, and .DOCX. Please advise how to place them using Javascript. Manually, I can place those file, but looking for Javascript solution. Thanks in advance.

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

ExportType.SVG "Use Artboards" option

I am trying to export layers to SVG, but I need to access the "Use Artboards" option in my ExportType.SVG options.  I do not see it in the Javascript reference:...

View Article
Browsing all 12845 articles
Browse latest View live


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