Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing all 3671 articles
Browse latest View live

Get object fillColor name?

Hello! I know how to get object fillcolor. myCurrentObject.fillColor But how can i get custom name of that color, if it exist in swatches? If someone worked with this, please give a hand!...

View Article


Image may be NSFW.
Clik here to view.

Unlocking sublayers

I am trying to resize some art to specific dimensions. The script ran fine except for 1 file and it drove me crazy trying to find why 1 layer would not resize. I checked to make sure the layer wasn't...

View Article


Illustrator CS5 - Open All Files in Folder, Select All Objects in File and...

Could anyone provide some guidance or insight to what is not working in the script below? I need to convert 300+ icon files to a new color, and save as SVG in Illustrator CS5.Actions needed:Open all...

View Article

Image may be NSFW.
Clik here to view.

event listener for when panel is opened?

is there an event listener for when a CEP panel is opened.  i have a persistent panel so the onload only works when the panel is opened for the first time. i want to keep it persistent, but i want to...

View Article

Illustrator script for clipping objects by 'itself' for photoshop workflow

Dear all, I need some help with a script i am trying to write. The aim of the script is to duplicate all the items in the document, group the original object with the just created duplicate, and clip...

View Article


Image may be NSFW.
Clik here to view.

fit artboard to selected art in Applescript

i am new to Applescript i don't how to use fit artboard to selected art, Can any one help me

View Article

Possible to round font size if in decimal with AppleScript?

Hi, Is it possible to automate the rounding of font sizes if they are in decimal form? I have a few thousand files I have to prepare for upload and they can't have font sizes such as 8.214 which...

View Article

Urgent Help Scripting

  I am a beginner at scripting, coding, and web design. I have been having questions regarding developing an Adobe Script that will Automatically open a PDF file I have (created in Illustrator CC...

View Article


Image may be NSFW.
Clik here to view.

I want to Export JPEG - Applscript

1 } Here is my Applescript , I want to save without .ai i don't  why its coming with _JPEG ( i need "filename_JPEG.jpg" - i am getting "filename.ai_JPEG.jpg") if u run this applescript u came...

View Article


embed() bug - rescales to original size

I have a script that finds goes to all placedItems and embeds them. My code is simple enough:function embedAllImages(){    placedArt = app.activeDocument.placedItems;    if (placedArt < 0) {...

View Article

zOrderPosition error caused by 'duplicate' and 'move' methods

I created some paths and grouped them with a script.  Then I selected an item below them and tried getting zOrderPosition of it with a script. And I got an error.Is there a way to get rid of this? Here...

View Article

Image may be NSFW.
Clik here to view.

Can I get colors used in pattern using script?

I need to check every color used in a document. I'm looping all the pageItems and get each item's fillColor and strokeColor. However, if the fillColor/strokeColor is an instance of PatternColor, I...

View Article

How to packed a commercial plug-in by the CEP?

How to packed a commercial  plug-in by the CEP, another people want to use it must to input serial number  or Insert encrypted dog

View Article


placedItem file (re)placement failure in Javascript

Greetings, While scripting some automated placedItem replacements, I stumbled upon some issues with the feature failing in specific cases.While most of them ended up working somehow at a later date,...

View Article

define excute menu in applescript

define excute menu in applescriptHi everyone i know about excute command in javascript but i don't how to call excute menu in applescript can any one help me..............

View Article


How to export PNG with 300 res using Applescript

How to export PNG with 300 res in Applescripti want to copy a art and paste in new document and export as PNG to desktop location, & file name should be my previous doc were i copy file form. and...

View Article

Illustrator Layers to Classes ?

I need to export an SVG file whereas each path in the SVG file has it's own class.  I'm hoping renaming layers or groups then running a script in existence exports the SVG file, with the options...

View Article


Image may be NSFW.
Clik here to view.

How to delete specific Artboard in illustrator using script

Here u can see 4 art boards on attached screenshot, but i want to delete 1,3,4 art boards i like to work with art board 2

View Article

Batch Rename Sublayers

I have read through the documentation, and seen many scripts on here from Carlos and others. I simply want to rename all my sublayers of a layer to 'nopointer'. I have tried to 'hack' one of the...

View Article

JSX to perform actions.

I'm looking for a script for Illustrator that performs actions of my set of actions

View Article
Browsing all 3671 articles
Browse latest View live


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