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

How can I find items which have crop marks effect?

Now, I am creating a script for Illustrator CS4, CS5, CC2014 with Japanese version in Windows.I wish to find items which have Crop Marks Effect (which is created by Effect > Crop Marks) by...

View Article


Trigger Save As... dialog with Javascript?

I have a script that makes some significant changes to an Illustrator file and would like to have a "Save As..." dialog pop up at the end of the script to give the user a chance to save the changes in...

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

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

More agile way to use BridgeTalk functions

I have used BridgeTalk now in my couple scripts. I found this way to more agile way to use functions with BridgeTalk. Just want to share this and get comments if there is more better way to do this....

View Article


Convert CSV to Swatch Library?

Hi everyone  I have a list of 300+ colors that I need to make into a swatch library for Illustrator. The data looks like this: GREEN GRASS,127,187,0PALE YELLOW,241,235,135LIGHT...

View Article

Deleting text frames without a specific fill color

I was wondering if someone might be able to tell me a simple way in javascript to scan through all the text frame in my active document that are NOT filled with the following RGB values...fillColor.red...

View Article

How to create an Empty Playlist File on Mac?

Hello everyone, I'm working on a Music Player script, I was able to play a file via the default player as when we doubleclick on a file. The problem is I have no control over the Player, so to "stop" a...

View Article


Is it possible to get the name of the folder that contains the active document?

Hello everyone!I know how to get the name of the active document,app.activeDocument.name;but I was wondering if you could also get the name of the folder that contains the active document. Not sure if...

View Article


Illustrator script to select multiple layers

I have about 74 layers in illustrator and i want to run a script to select combination of layers at a time. For e.g. I want 5 layers to be selected and save them as one .jpg. Then say i need to select...

View Article

Show color picker dialog JSX / CSAW

Can someone guide me on how to show the color picker dialog in Illustrator programmatically?In photoshop that's really easy, just:      app.showColorPicker(true); In Illustrator I couldn't find any...

View Article

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

More agile way to use BridgeTalk functions

I have used BridgeTalk now in my couple scripts. I found this way to more agile way to use functions with BridgeTalk. Just want to share this and get comments if there is more better way to do this....

View Article


Assigning random colors from a defined color palette.

I'm using a mac running illustrator cs5 and have about 4 thousand eps files (all vector paths filled with black) that need to be assigned colors randomly from a defined color palette (25 custom...

View Article

Export HTML from an ai file / import external JS library

Hi guys, does anyone know a script to export HTML from an ai file? I'm going to setup a custom workflow and I need a basic html-export script to start from. Any known sources? I'm experienced in JS but...

View Article


Action to remove all unused swatches nearly works...

I've been using the default Action to remove fluff (unused swatches, symbols, brushes, etc.) but it has a funny quirk. I have a spot black color (named black) that always escapes the purge, even if it...

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


adding multiple paths into a compound path

If I use the gui to add multiple paths into a compound path all I have to do is select multiple paths and choose Object->Compound Path->Make (or ctrl-8). When I do this then the bottom path which...

View Article

Image may be NSFW.
Clik here to view.

Move corresponding text and overlapping graphics

OK so I have a JavaScript in CS4 that I wrote that will take selected text objects and create a layer formatted the way I need it.For example the following text items are selected:13   16   23   FFThe...

View Article

Layer loop stops short?

#target illustrator var doc = app.activeDocument; var allLayers = doc.layers; for (var i = 0; i < allLayers.length; i++) {    allLayers[i].locked = false;    if (allLayers[i].name == "Hypertext" ||...

View Article
Browsing all 12845 articles
Browse latest View live