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

How to access the properties of effects like drop shadow etc. from scripting?

Hi All, Is there any way to access the properties of effects applied via Effect->Stylize? Let's say If I added a path item and apply drop shadow to it via Effect->Stylize->DropShadow.Will it...

View Article


ScriptUI CS6 on Mac: listbox crashes app?

I have a very unique problem which I would have never known about because I do not have CS6 on the Mac: this very simple dialog seems to crash the entire application after it is dismissed. The only...

View Article


ExportOptionsTIFF not listening to my instructions!

I have discovered yet another inconvenience, and I hope someone may tell me what I am doing wrong.Using the export TIFF command from an Illustrator document, I am hoping to produce a .tif with 600dpi....

View Article

Save an EPS and export a JPG for my 30 tabs all at once with a script?

Would there be a fast way to save an EPS and export a JPG for my 30 illustration tabs with a script or something? It's very time consuming to do it manually.   P.S. I'm willing to send a check via...

View Article

Drawing a rectangle of exact size of the artboard?

Has anybody written a JS script to to draw a rectangle on an active document which would be exact size as the document's artboard?I find it very inaccurate and cumbersome trying to draw such rectangle...

View Article


Script: rename layers?

Hi, is there a quick way how to renumber or batch rename all layers in a file so they would be named in consequent numbers? Doesn't have to start from exact number, I was wondering if maybe there is...

View Article

Scripting: Finding the graphicStyle of an object

Hello all, Using CS5, Javascript, I'd like to find the graphicStyle, if any, applied to a selected object. I can get the selected object:var doc = app.activeDocument;var sel = doc.selection; I can...

View Article

Adobe Illustrator Tags

I have noticed the tags object is available to the document object, the pageitem object. Does anybody use these, and is there an example of using the 'tag' which someone would be willing to share for...

View Article


How to find find color x, replace with color y?

Trying to figure out why this isn't working. I want to find pathItems that have a specific CMYK color and replace it with a new CMYK color.I discovered that I should round my CMYK values, but it's...

View Article


Spot Color conflict Placed PDF

Ok, so I found this awesome set of functions for making color swatches that checks to see if it exists first and then just uses the existing one if it does.But I have run into an issue where the swatch...

View Article

Rename active document while saving

Hi Is there any possibility through script to rename the active document while saving? For example: Current: 124efg.ai To save and exit: 124efg_X.ai. Is it possible? Can someone help me?

View Article

Add event handler as/via prototype?

I would like to try and increase my javascript knowledge here.So, here is what I have got so far, and I would like to make it better. I saw that if you click on the 1 pixel in the border of a dropdown...

View Article

Image may be NSFW.
Clik here to view.

an Illustrator error occurred: 1346458189 ('PARM')

Hello everyone, I am trying to open some documents in Illustrator CS4 by javascript, walk through all layers including sublayers, doing something (for now just reading the layernames and showing them...

View Article


Getting the File Name from an Embedded Link

Hi All, I'm using the below code to get the raster item (file name) for the embedded links in an artboard.But I am facing the below issues.1) if any link is missing then the script is not running2) if...

View Article

(JS) Checking if a folder exists

Hi everyone! I would like to check if a folder exist. I was trying with this code but doesn't work.I will thank you in advanced if you know a better way to do this. Best regards_ - Code not working...

View Article


Image may be NSFW.
Clik here to view.

Illustrator CC Book Color vs Spot Color PANTONE+

Hi! Here's a question about a little detail regarding PANTONE+ spot colors.I've got a script that makes PANTONE+ colors inside a document using the available scripting methods, which produce a spot...

View Article

Add keywords with script - XMP

Hello everyone! I need a script to add words in my keywords. It's possible?I'm trying this: activeDocument.XMPString ("ok Script");ActiveDocument.Save (); // dont work Thank cooperation!

View Article


Delete/Remove/Overwrite files/folders while saving

Hello again. I am finishing up a simple script similar to one you've probably seen and more than likely used before (multiexporter.jsx by Tom Byrne). My production department has requested that we give...

View Article

Get Clipping Path dimensions

Hello all!Ok so I've searched around a little and haven't found what I am looking for.I am looping through all the placedItems of the active document.Checking to see if it is selected and placing the...

View Article

Image may be NSFW.
Clik here to view.

Selecting some anchor points on a path & cutting them out

I would like to iterate through anchor points on a closed path. Starting at anchor [0] I'd want to measure the distance to the next anchor point [1] if absolute value is inside set limit then measure...

View Article
Browsing all 12845 articles
Browse latest View live


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