How to select all Gradient filled paths but FAST?
Hello, I've been trying to find a faster way to select all gradient filled objects (not meshes) in complicated documents and change them to a basic color. This would effectively remove the gradients...
View ArticleScale up file when saving to PDF?
We save a PDF of our product layout files at actual size. Since it's jewelry this can be quite small. Our systems developer plans to use the files for preview on web, but cannot figure out how to scale...
View ArticleWhite space in ESTK
Hello I am working with ESTK and I found white space on color options. When you use ctrl + shift + N for example, you get a white space (SO), what is it ?
View ArticleHow to export multiple artboards to .tiff
I am new to javascript and scripting and I'm looking for help to put together a script. I need this script to export multiple artboards to .tiff the the artboard name included in the saved file name. I...
View ArticleGuarantee Selection Order - (Replace Image with another Image)
I'm wanting to simply replace one image, with another image. I'm doing this by shift-clicking two items, and setting the second item's top / left, to that of the first item, and then deleting the first...
View ArticleParsing XML document
Hello, I have the following XML document example:<?xml version="1.0"><root> <element id="id1">value1</element> <element id="id2">value2</element>...
View ArticleHow to import an XML file into illustrator?
The client has provide me his own color palette in .XML format, I don't know how to import these colors or is there any other options to import into illustrator.Please help me resolve this issue....
View ArticleInstalling Scripts in latest Illustrator CC release (V 22.0.1)
Hi all, I have been trying to find the location for installing scripts so that they appear directly under File > Scripts (instead of having to navigate to them via File > Scripts > Other...
View ArticleMultiple relink from text file
HelloCould someone help with script.I have document with 6 linked ai files. The same 6 files.And 1 text box. I need to relink for example dump.ai with files from text file. Text file with paths to...
View ArticleHow to make Euclidean constructions?
Are there good ways to make Euclidean constructions in Illustrator? I get the impression that there might be script libraries to help with tasks like finding a tangent to two circles or constructing a...
View ArticleLooking for a script that will delete all instances of a live effect
I'm looking specifically for a way to delete live drop shadows in any object within a file. These seem to flag Indesign that colors are present even when in grayscale. Thanks in advance for any help!
View Article[Ann] New plugin for Scripter
Hi, all.One of the famous Japanese scripter "あるふぁ(仮)" released brilliant plugin today. What can do with this plugin.You can do appearances control via ExtendScript.You can get key object via...
View ArticleHow to create macros in illustrator to merge with CSV files?
Please help since I am new to Illustrator I need know how to create macros in illustrator to merge with CSV files?A step by step explanation helps me a lot.
View ArticleActivate artboard with selection
Hi, I hope someone here can help.I have a selection in one of the artboards. If I want to make the artboard with my selection active, how can I do it with a script?
View ArticleIllustrator Script to Export PDF, JPG, AI and EPS at once
Looking for a script to export multiple version at once from Illustrator CS6/CC
View ArticleBreak text area into text lines
I want to break text area with line breaks in it into seperate text lines using return as delineator. for example "Line 1Line 2Line 3" I would like as "Line 1""Line 2" "Line 3" I could probably write...
View ArticleIllegal use of reserved word "if"?
Line 13 error. What am I doing wrong? The "if" statement is throwing the error "Illegal use of reserved word "if"". //Rotate Alternate and FingerprintAlign objects function rotateAltPrint(oneTwo,...
View ArticleAssign fill color to selection?
Simple, I'm sure, but I'm getting nowhere. var aDoc = app.activeDocument; var shape = aDoc.layers["FINGERPRINT"].pathItems[0]; shape.selected = true; shape.fillColor = "BDBDFF";...
View Articleasset export - can the asset name pickup the layer's name automatically ?
Hi all,i've spend quite some time to name my layers with good, make-sense names and when I try to export Illustrator call them 'asset 1', asset 2', etc.. !I know i can rename them but it's really...
View ArticleALLWAYS CHEK ON PREVIEW in EFFECTS AND OTHER WINDOWS
Hello!Many people have asked Adobe to implement the chek allways preview function in effects and other dialog boxes.I present to you a small script made using the AutoHotKey program, which performs...
View ArticleTest for existing JSX in AI Memory?
The "light" finally came on regarding "Functions" and I have a jsx file dedicated to them. I have learned I can upload them once to AI and call them in subsequent scripts without reloading the...
View ArticleQuestion on UI element: TabbedPanel
I'm trying to set up a simple dialog just to understand how tabbed panels work, here's my code: ]var ADAPTwinResource ="dialog { \ properties:{ \ resizeable:false, \...
View ArticleAny AI script to export files?
Was wondering if anyone knows of an AI script that would allow me to export files to .jog at various print sizes at 300 DPI? I am looking to sell digital downloads at various print sizes and was hoping...
View ArticleExtendscript toolkit: unable to debug
I was able to debug but then I do not know what happened; now it gives me error message sayingTarget Adobe Illustrator CC 2018 provides no engine for debugging.I tried with InDesign and it gives me...
View Article"Exported as Binary" and "non-modal" script window
Hello How can I get a "non-modal" window of a script, exported as binary, that will not block the work with the document window?Here are the results of my tests:#target illustrator; #targetengine...
View ArticleScript for Exporting TIFF is not embedding ICC Profile
I have a script that will export a TIFF file for me and I am trying to get it to embed the ICC Profile. I'm not sure if there is something wrong with my code or if I need to add something else to get...
View ArticleScript needed to identify overprints in files (batch process)
I'm looking for a script that will batch process a folder, identify the files with overprints (both stroke, fill or type) and then write a Log File with it the results. If you know of one, or can...
View ArticleChange item to grayscale
In CS6. If i want to change everything to grayscale. I simply just use.App.execute.menuCommands(selectall);App.execute.menuCommands(Colors7); But my company using version cs5.1 so the code fails. How...
View ArticleResizing Clip Group with Javascript
Hello! I'm very new to this and at my wits' end. I am making a simple script that:-gets a users input of width and height -scales the current selection to that input (Like typing in a new width and...
View ArticleHold the javascript after opening the ai file
Dear All,Good day to you..I am using Javascirpt to make the pdf. The fonts are linked with the font server (Universal Type Client). If I run the script for batch of files, it will make the pdf without...
View Article• 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 ArticleDynamic 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 ArticleFind 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 Articleprint 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 ArticleCreate 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 ArticleMethod 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 ArticleScript 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 ArticleIllustratorのフォント指定でなぜgetByName()メソッドを使用する必要があるのでしょうか?
こんにちは。Illustratorのスクリプトでフォントを指定する際に、例えば小塚ゴシックを指定する場合は以下コードのように記述をしております。 sel = activeDocument.selsctionsel[0].textRange.characterAttributes.textFont = app.textFonts.getByName("KozGoPro-Regular")...
View Articleapp.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 ArticleIllustrator 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 ArticleMove 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__ 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 ArticleNeed 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 ArticleCustom 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 ArticleHow 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 ArticleScript 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 ArticleColorize 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 ArticleCreating 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 ArticleNeed 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 ArticleAdd 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