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

JS - Center Selection to Artboard / New Document with certain Artboard size

TL;DR:how do I center my current selection to the artboard?just like hitting the "horizontal align-center" and "vertical align-center" buttons.  Hi, I've been searching for the last two hours and...

View Article


Set unit preferences (Javascript)

I can't find a way to set the unit preferences for Illustrator CS6/CC using JavaScript. I found that this works (setting units for stroke):var units = 2; // 0-inches, 1-milllimeters, 2-points...

View Article


Exporting Adobe Illustrator XMP Data

Hello, My biggest problem is that doesn't know how to write script. Can anyone kind enough to enlighten me with a ExtendScript to export Adobe illustrator XMP data into a xml file please?Regards,Jeno

View Article

Applescript: "execute menu command" syntax

Greetings, Anyone know the syntax for using: execute menu command v : executes a menu command using the menu shortcut string execute menu commandmenu command stringtext : menu command shortcut I can't...

View Article

How to save a pdf to the desktop?

  q:  Folder Path ?? 

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

How convert Matrix to Rotate?

Example:Value of Matrix of TextFrame:MValueA=0.707110047340393MValueB=0.707110047340393MValueC=-0.707110047340393MValueD=0.707110047340393MValueTX=-11116.84375MValueTY=-281.0703125How convert Matrix to...

View Article

Does anybody know how to remove all "copy" word from AI layers name line?

I downloaded a PSD script that auto remove the word "copy" from all layers. Inside AI, I can't do that. Does anyone can help me? Here is the jsx PSD script file: ----------...

View Article


Image may be NSFW.
Clik here to view.

Reworking Photoshop layer renaming script for Illustrator

The Photoshop scripting guru Paul R over at RetouchPro has created a really cool script to batch rename and number selected Photoshop layers. I haven't found anything similar on the Illustrator side....

View Article


applescript for saving ai files to pdf with specific preset not working

Hello all,my applescript for saving ai files to pdf with my specific preset (A1) not working anymore (after installing cc 2014)it worked for years .....I need to work in CS6 still so I have both ai's...

View Article

A Script to Find and Replace Layer Names

Are there any scripts to find and replace layer names? There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes,...

View Article

Giving Opacity the same value as fill color (Inverting Opacity/Fill)

I am looking to add a script that would take the fill value of swatches in my art file, and apply those values to the opacity of each swatch.  I would also like to be able to adjust the fill value to...

View Article

Anti-aliasing Type Optimized/Art Optimized on PNG export

Hello there, I'm modifying a javascript that makes an export of each layer contained in an Illustrator document and I want to specify the method used for anti-aliasing (either Type Optimized or Art...

View Article


VBS - selecting loaded Dataset

Hello Everyone, I been long time reader of this forum, you guys are great. I created a little script that loads Dataset in to a chart, but I have to go then and manually pick the Datset from drop down...

View Article

Javascript to determine named fill/stroke color of pathItem[index]?

I'm attempting to build a preflight of sorts for my Illustrator workflow (since for some reason.. preflight in illustrator doesn't exist...). Essentially i need to loop through the pathItems on each...

View Article


Open multi-page PDF in Illustrator

Does anyone know of a script that would allow Illustrator CS4 to open all pages of a PDF, instead of opening one page of the PDF at a time?

View Article

How to reflect in script?

Hi,I want the equivalent of choosing Object > Transform > Reflect, across the Vertical axis. How would I do this with JavaScript?Thanks,Max

View Article


Need script to batch convert vector .eps to .png images with scale

Hi, I'm looking for a script/program that if you run it, all the .eps files in a folder will batch convert to a png-24 with 250% scale. Erdem

View Article

Image may be NSFW.
Clik here to view.

XMP - Add keywords with script

Hallo Forum, I would create a script to have keyword standards. In EXCEL i create a controlled namespace trougth comboboxes to save the files in an controlled way. The Metadata should be a controlled...

View Article

finding the matrix info on a text frame?

I wanted to understand the matrix values and methods so I could make a script to select or not select textframes that are angled.Can anyone explain this matrix stuff to me? This script is the only...

View Article
Browsing all 12845 articles
Browse latest View live


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