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

creating outlines from text using javascript in Illustrator CS5

Hi everyone, Is there a way to select all of the text on all artboards and CREATE OUTLINES using Javascript? I've googled and googled, but I can't seem to find any help. The text that Adobe provides...

View Article


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


batch exporting mulitple ai files to jpeg (+ exporting artbords)

First, let me start by saying how awesome you guys are for being able to write scripts. I have about 250 ai files, each with two artboards.  Is there anyway I can export the ai files to jpegs but also...

View Article

Calling functions from UI palette

Hello,From what I understand, you can't call complex functions from a scripted UI palette, only from "dialog" windows (which are usless in my case) because I need the persistance of a palette.  I have...

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


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

Export multiple ARTBOARDS to multiple JPGs (AppleScript)

I´m aware that Illustrator doesn´t have multiple artboards options for JPG as it does with eps, or other formats, but is there any workaround for this??Looping current artboard and exporting them to...

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


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


Break link to symbol

If I right click on a symbol instance, I get a menu item, "Break link to symbol."  How can I do that same thing in Javascript?  1) That is, how do I use Javascript to break the link between a...

View Article

Rename Layer, Group, Object Javascript

Hey Guys, I'm trying to write a script that renames a layer, and group within the layer, then an object within the layer (but not a part of the group) and have it run in a loop. Here's what I've got so...

View Article

UI (Window, dialog, palette etc) reference info for AI scripting

I'm looking for standard reference info on UI elements like popup windows (dialogs, palettes etc). I've been through the Illustrator CS6 Javascript Scripting reference guide and also the CS6 Scripting...

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


Export from eps to jpg. Need to know jpg pixel dimensions.

i have a script which export eps to jpg using below script (width is always 1276 px). Is there any way to know the dimension of the each jpg files as an alert? #target illustratorvar i,  files,...

View Article

How to Export TIFF

Hi All, How to export TIFF from Illustrator using Javascript. I could not find TIFF export type in Illustartor export type. Regards,Selvakumar

View Article


[Javasscript] Find the visible bounds of a layer in Illustrator

Hi folks, A similar question has been asked before, but I'm asking a much simplified version of it: "Is there a way to determine the visible bounds of a layer in Illustrator CS5+?" I ask because I'm...

View Article

How do I save a .DXF file in Illustrator as an AI file using VBscript?

I have a VBA script that opens a .DXF file in Illustrator, and want to save it as an AI file. How do I do this?

View Article


launch illustrator with script from commandline

Hi,(Illustrator CC 2014 on Windows 7) I had hotkeys defined using AutoHotkey to execute a script in illustrator by executing a commandline, and with the script as an argument. This used to work fine,...

View Article

Image may be NSFW.
Clik here to view.

Applescript: Removing Groups and Layers

This should be a simple task, but I still haven't figured out how to do it. I have a set of page items, and the are contained in groups inside of layers inside of layer inside of layers.How can I...

View Article

How do I batch-rename objects/paths (not just layers)?

Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name,...

View Article
Browsing all 12845 articles
Browse latest View live


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