Quantcast
Channel: Adobe Community : Discussion List - Illustrator Scripting
Browsing index pages (3671 articles)

Image may be NSFW.
Clik here to view.

Add 20mm to an object

Hi, Primary, scuse my bad english, my langage is the french. I have some basic in prog' but I'm not so good, and that's the first try I do in Illustrator Script.I juste take a script on the web, then I...

View Article


Need script to apply a graphic style to a text frame using VBA

Hello everyone! I have been trying to adapt an example script to apply an already existing graphic style to a text frame. All of the scripting guides use the same example that applies the graphic style...

View Article


Image may be NSFW.
Clik here to view.

Creating a dynamic action to use with app.doScript() method.

Since building dynamic actions is a topic unto itself, we often search for a reference thread to show somebody how to do this - and we often do so while trying to discuss work which is already involved...

View Article

Colorize every layer and sublayer

Hi there,i want to write a script, that is recoloring every item and subitem, independently of its itemtype.I found a   code from github, that i changed for my needs:(  ai-scripts/colorize artwork.jsx...

View Article

Script Artboard to "Fit to Artwork Bounds" on multiple files

Hi guys! I was wondering if someone could help me by providing some insight into writing a simple script that fits the artboard to the artwork bounds on multiple files.I currently do this by shift + o...

View Article


How to get specific PREFERENCE_KEY

In my scripts I use some PREFERENCE_KEY from this post Illustrator PreferencesBut this list is not so actual for Illustrator 2019.How I can get all actual PREFERENCE_KEY for AI 2019 by myself.Or maybe...

View Article

Custom ExportType for Illustrator

I have an Illustrator Plugin that creates embroidery files from vectors.  I am trying to use a script to open all ".ai" files in a folder, run my action for embroidery conversion and export multiple...

View Article

Need a script to select similar colors

So we have a client that we run a huge library of artwork with, that is updated yearly once they start ordering, per order there is usually just one file and in that file we have 3 main colors, red,...

View Article


__ Is there a script or something that will create a Pantone book?

Is there a script or something that will create a Pantone book? (Leaving everything as spot) I want to create an Ai document(s) with all of the Pantone solid coated swatches, with their name below it....

View Article


Image may be NSFW.
Clik here to view.

Move Object Script / Center Text on object

Hi All,Basically what I am trying to accomplish is a script to center text Vertically or Horizontally on an object disregarding the Aescenders & Descenders, oh and without outlining the text. I...

View Article

Illustrator quits when closing file script was ran on.

I am working for a corporation and have been working to use scripts to create design template.  This way they remain standardized.  Before this project I had only briefly done any scripting of any...

View Article

Image may be NSFW.
Clik here to view.

app.textFonts[i] references not working in AI 2017 Update (Javascript)

Just updated Illustrator (21 October 2017), and now all attempt to reference the list app.textFonts[i] (in Javascript) fail and show the following error: Error 1200: an Illustrator error occurred:...

View Article

Image may be NSFW.
Clik here to view.

Illustratorのフォント指定でなぜgetByName()メソッドを使用する必要があるのでしょうか?

こんにちは。Illustratorのスクリプトでフォントを指定する際に、例えば小塚ゴシックを指定する場合は以下コードのように記述をしております。 sel = activeDocument.selsctionsel[0].textRange.characterAttributes.textFont = app.textFonts.getByName("KozGoPro-Regular")...

View Article


Script for loading Action Libraries

I'm looking for some help to automate the process of loading individual Action libraries using a recorded action (with the inclusion of a Script). I'm pretty sure incorporating a script is the way, but...

View Article

Method to import any artboard from .ai file to a new document

Hello everybody! I'm actually working on a script and I need to be able to import any pages of a .ai file, in a new document in Illustrator.No problem to import the first page (or artboard if you...

View Article


Image may be NSFW.
Clik here to view.

Create a Loop to apply an effect

Hello everyone I've to treat some pictures with Live trace. I managed to write a script that apply the preselected live trace to the active selected layer :var doc = app.activeDocument;  var...

View Article

print Adobe Illustrator swatch samples?

I would find it useful to have a catalog of all the existing swatch libraries that come with Adobe Illustrator in order to make choosing them in the future easier. Does anyone know of an existing web...

View Article


Image may be NSFW.
Clik here to view.

Find Folder by name - function

Hi there,for an automation, i need a function to get a folderpath by name in a specific folder environment.The Problem is, that i just need the folder in the second level/layer.(So i need to search...

View Article

Dynamic actions with app.doScript() method

Hi all, With reference to Silly-V's post (Creating a dynamic action to use with app.doScript() method. ) on the same subject, I'm having an issue where Illustrator does not recognise the dynamically...

View Article

Image may be NSFW.
Clik here to view.

• Flush all variables, before launching again a script, possible?

Hello - I was wondering if it is possible to "flush" ALL variables of a script, before launching it again.Because a colleague of mine told me that when he launch sometimes again a script, well it seems...

View Article
Browsing index pages (3671 articles)


Latest Images