Questions tagged [illustrator-scripting]

Questions about the automation and extending of functionality through the use of scripts within Adobe Illustrator.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
32 views

Adobe Illustrator script to set selected object's stroke weight to .001

Can somebody make a simple .jsx script for Adobe Illustrator for me-- all it needs to do is set the currently select object's stroke weight to .001 I'm making a big "action" list in ...
AvantiSavoya's user avatar
0 votes
0 answers
30 views

Sequential numbering in Adobe Illustrator in the same artboard

I am trying to put numbers from 2001-4000 for labels, I have also created an Excel file with the numbers I need. I haven't found a way to incorporate that file in the textbox.
Selina Balla's user avatar
0 votes
0 answers
35 views

How to toggle "Paste Remembers Layers" by an Illustrator Script?

In an Illustrator script, I want to enable the "Paste Remembers Layers" option which is located in the Layers panel's flyout menu. Apparently this can be achieved in InDesign and its ...
Omid Sadeghi's user avatar
1 vote
1 answer
46 views

Mass scaling of artboards with content in Illustrator

Is there a way in Illustrator to scale the artboards with their content at once? Like scaling tool on an image? I have around 100 diffrent sized artboard and most importantly they are all named ...
rocendroll's user avatar
0 votes
0 answers
32 views

Illustrator export script, is it possible to remember export setting or save it into the file?

I have a file with lot of artworks in it, and when exporting I need a lot of diffrents output formats, as well as .pngs in a specific scale. Whenever there's going to be a need for me to add sth into ...
rocendroll's user avatar
1 vote
1 answer
180 views

Convert fonts into curves/ paths automatically on export to PDF in Illustrator

Is there any way in illustrator to convert text into curves/ paths automatically when exporting as PDF? I couldn't find any preset option in the PDF export dialog. Are there "Actions" like ...
jona's user avatar
  • 165
1 vote
0 answers
77 views

Illustrator: I need an 'Average points by distance' script

I'm currently working on a path that was once a pattern with multiple loose ends. I'm unable to pathfinder>unite it since it's a "lines only" shape. As you can see, it's a very complex ...
Hizome's user avatar
  • 11
-1 votes
1 answer
90 views

Expand color range selections to up or down only

for example i selected some areas like following: Now i want to expand above selections to following: If have any trick or script for this, please provide here. I hope you fully understand what I ...
Pubg Mobile's user avatar
0 votes
0 answers
73 views

Create a new illustrator document with callback options

I am totally new to javascript and extended script. I made a lot of tutorial to try to learn the right method and syntax but for several weeks I can't create the script I want. The script is quite ...
GilbertOOl's user avatar
0 votes
0 answers
47 views

adobe illustrator Script for textframe having enter key

thanks in advance for any assistance regarding this issue i am not scripting guy i copied this script from somewhere i don't remember var document = app.activeDocument; var TextFrame = activeDocument....
Sunny's user avatar
  • 1
0 votes
0 answers
68 views

Setting export location when using quick actions

I’m setting up some quick actions to improve my workflow, one is that I export a jpg of the artboard to a certain folder for each job I do. ie. every job I do has a 3 folder directory, and my working ...
milcay's user avatar
  • 1
0 votes
1 answer
208 views

Is there a quick way to create a series of point text objects in Adobe Illustrator with sequentially increased numbers?

For a simple game design, I find myself needing numbers in a consistent style, all of them single point text objects. Importing a text file creates a single text frame, and that's not what I want. Is ...
Vincent's user avatar
  • 25.2k
-1 votes
2 answers
217 views

Getting all hex colors to export to png

I'm doing something kinda silly where I actually do need all ~16mil RGB colors. I do know how to do them separately, one by one, but I can imagine that taking quite a long time to do it manually. This ...
leguchi's user avatar
  • 177
1 vote
1 answer
116 views

Illustrator - Let the script only apply to one document

I found such a script. But it works on all open files and takes a lot of time. How do I do it to only one current tab. var doc = activeDocument; for(var i = 0; i < app.documents.length; i++) ...
enisio's user avatar
  • 41
1 vote
0 answers
124 views

How to mimic string/thread art with vectors in illustrator?

I'm designing a wall mural for an office and have to do an illustrator mock up of a string art wall similar to this: Does anyone know how to achieve a similar effect? I tried searching all kinds of ...
Emily Baker's user avatar
1 vote
0 answers
229 views

Illustrator Script to Select specific sublayer Text of specific Layer

I'm a noob at scripting in Illustrator, but all of my search and trial and error didn't get me far. I'm trying to select a specific text of a layer and change the visiblity in a Structure like this: ...
AendrewHD's user avatar
0 votes
0 answers
20 views

Save Illustrator file from text in the file using Illustrator actions

I'm saving a bunch of files and I would like to save them using selected text from the file using actions. Right now, I'm able to select the text and copy and paste in the file. But when the save as ...
Steven Tolle's user avatar
0 votes
2 answers
44 views

Is there a way to read content of outline objects in Adobe Illustrator using script?

I have a .ai file which has a layer containing a bunch of nested outline objects (pathItem, compoundPathItems, ClipGroup, etc.). Example - a linear barcode containing rectangular lines with digits ...
user174450's user avatar
0 votes
1 answer
456 views

Is it possible to edit a Gradient Swatch in Illustrator's UI?

I can't find any way to edit a Gradient Swatch in Illustrator's UI. I can do lots of things with a Color Swatch or a Pattern Swatch, but for some reason, I can only change the name of a Gradient ...
Vun-Hugh Vaw's user avatar
0 votes
0 answers
121 views

a script to duplicate mi currect artboard and resize it please

I want to do a action but I think that with a script is better, but I´m not good at it: I want to duplicate my current artboard and resize this new artboard to 30cmx30cm, and make a mask on it, ...
hateeyes's user avatar
0 votes
0 answers
311 views

How to modify and fix this Adobe CEP Extension (Adobe Scripts Panel)

There is a very useful Adobe CC extension called Adobe Scripts Panel, which is essentially a panel that lets you run scripts on the fly without having to go to File > Scripts > Select Script in ...
fmotion1's user avatar
  • 155
0 votes
0 answers
227 views

The object "Script Name" is not currently available

I made an action, inside this action, there is a script (about set Artboard 4 Active) when I play it as a batch I get an error The object "Script" is not currently available. so the script ...
So Brawl's user avatar
-1 votes
1 answer
372 views

How can I SELECT multiple artboards To duplicate them in Adobe Illustrator with action or with script?

I have like 270 files each file have 4 artboards, So I want to duplicate the ArtB(3) and ArtB(4) For 80 times, but I need a script to select the artboards that i need then duplicate them in action to ...
So Brawl's user avatar
0 votes
2 answers
157 views

Resizing multiple objects with cursor? [Illustrator]

Does anyone know about a way within Illustrator (or a script from outside it) that could allow a user to manually, with a cursor resize multiple objects at the same time, while maintaining their ...
user171479's user avatar
0 votes
0 answers
213 views

Illustrator - how to properly check the path is a rectangle shape and is rotated using javascript?

When I import DWG files which contain simple objects, mostly rectangles, circles, lines or polygones and save the result in SVG sometimes i get shapes with matrix transformation. I know what is matrix ...
KrzysztofJ's user avatar
2 votes
1 answer
578 views

I wrote a script that will change a swatch color, but why does it work?

I want a script that will change a swatch in my Illustrator document, where this particular swatch is named “strap”. I looked over the Internet, and didn't find anything that worked, but I noticed ...
Chris 's user avatar
  • 413
0 votes
0 answers
121 views

How do I find a named sublayer?

I have many files with a similar layer structure, but the layer structure is not exactly the same in each of these files. Each file has layers inside of layers; in other words, nested layers. One of ...
Chris 's user avatar
  • 413
0 votes
2 answers
407 views

Adobe Illustrator selection and scripting

I want to ask two questions I can select multiple objects, and after that, if I click one of the selected objects, last clicked one becomes "active" or "super selected." What is ...
Erdogan Kurtur's user avatar
0 votes
1 answer
248 views

How do I edit an illustrator script on a mac. Script editor wont' work [closed]

I'm new to scripts. I want to use the Script Editor that comes with my mac, but I can't seem to make it work. For example, I found the simplest possible Hello World java script on the internet, and ...
Chris 's user avatar
  • 413
2 votes
1 answer
327 views

Do "let" and "const" work in Adobe scripts?

Do they work or they don't? Changing some var variables to let resulted into error, while changing some of them to const didn't. Are both of them unsupported?
nevfy-y's user avatar
  • 131
0 votes
1 answer
246 views

How to get menu items from Adobe Illustrator interface?

There are many drop-down menus in the top of the Adobe Illustrator window. I would like to have a way to get a tree of these commands with their functions to cal in the script. For example, for this ...
nevfy-y's user avatar
  • 131
0 votes
0 answers
64 views

make png files name as layername+groupitems

I tried this on svg first, but the come didnt well, anyone know? So I want the name is Layer and group visible only case Layer Bono (O) grup A (.) grup B (.) grup C (O) Layer Delta (O) grup D (...
Bapak's user avatar
  • 1
0 votes
1 answer
186 views

Saving user input data after each use in Illustrator

How can a make a .txt file to save user input data after each use? I would like to save or store the "width" and "height" var until the next input. var doc = app....
Martha's user avatar
  • 1
0 votes
1 answer
76 views

How to convert embedded image to mosaic thought illustrator JS scripting

I would like to convert an embedded image to a mosaic through a script since I need to iterate it a few hundred times. I've tried using app.executeMenuCommand("Live PSAdapter_plugin_MscT"); ...
chandler's user avatar
-1 votes
1 answer
312 views

Copying Selection to Multiple Layer in Different Position

I am trying to cut selection and paste into four different layers using javascript (layer 01, layer 02 etc.) Like the example picture below: I am trying to find a solution but because of my lack of ...
Katherine Elizabeth Kath's user avatar
1 vote
2 answers
3k views

In Adobe Illustrator, is there a way to Batch Package .ai files, free?

I have a lot of .ai files which they need to be sent to publisher, packaging them one by one is a pain! There is some sharewares for mac, but I'm on windows 10, and prefer a free script, plugin or ...
Roozbeh E's user avatar
  • 384
1 vote
0 answers
283 views

Illustrator scripting: setting bleeds

Trying to solve this has been an odyssey, thanks in part to Adobe's new community platform breaking old links. Most of what I found is in this thread. So for some stupid and arbitrary reason, document ...
greglab's user avatar
  • 11
1 vote
0 answers
67 views

Script to create linear path from bezier path on document grid

How do I find the nearest grid point of a bezier path as it intersects the document grid? I am writing a script to create a linear copy of of a bezier path. I need to know where the path crosses the ...
Valerie's user avatar
  • 111
4 votes
1 answer
169 views

illustrator: Aligning an object to the top of an angled shape

I want to align an object to the top of a shape with an angled side. like so: Let's say this is my starting position of the object I want to move: If I select both and do 'vertical align top'. It's ...
Joost Dirix's user avatar
2 votes
0 answers
158 views

Adobe Illustrator Find Layer by Name Using JavaScript

I have been looking into the scripting side of Illustrator and have been struggling to get my head around things. I am trying to create a simple code that would find a layer by name/ID and change its ...
Ray Lincoln's user avatar
2 votes
1 answer
269 views

How to create a darken/lighten keyboard shortcut in Illustrator?

Searching for greyscale keyboard shortcuts I stumbled upon this nice useful video. However at minute 1:15 she uses a keyboard shortcut to quickly lighten and darken the selected colors. How does she ...
Cristóbal's user avatar
1 vote
1 answer
580 views

Looking for illustrator script which will select a path by size

I work on files which include thousands of short paths. I need to remove these short paths. Often I can not remove them by choosing the line weight or color because the file originators, use the same ...
Susan's user avatar
  • 11
0 votes
1 answer
506 views

How to create a pattern that does overlap the boundary

Working with the latest version of Adobe Illustrator I need to create a pattern that fills within the boundary of a polygon but doesn't clip the individual objects that make up that pattern. My ...
MapMan's user avatar
  • 1
2 votes
1 answer
254 views

Automating file export with multiple layers in Illustrator

I have an illustrator file that contains 4 layers with each its own word and 180 more layers. I want to make combinations of the 4 layers with the 180 layers. I'm currently trying to write the code ...
CynniDC's user avatar
  • 41
0 votes
0 answers
94 views

AI Script to control the anchor of the rectangle from the left

Can I control a rectangle's anchor on the left with a script up or down (like in the picture). var Rctngl=0; var var_Integer; mm = 2.834645731787465 var_Integer =Rctngl; var_Integer = prompt ("...
enisio's user avatar
  • 41
0 votes
1 answer
91 views

Changing All Fills and Strokes to 1 Spot Colour - Action

I'm recording an Action in Illustrator for my Plate Making process. I'm new to Actions but so far so good. The action is quite simple. I'm supplied a 1 colour file. The file is opened and the first ...
Amaroo's user avatar
  • 1
0 votes
1 answer
384 views

ExtendScript: Align group items centered in Ilustrator

Hi, I am new to illustrator and I want to align the textFrame centered to the pathItem(square) using Extendscript as shown in picture1. I have uploaded another picture, which shows the layer and group ...
dextoruz's user avatar
0 votes
1 answer
34 views

Print global colors into a text string in illustrator

You know what would be super nice? If there would be a function to link global colors to text strings. So if I create a CI/CD Manual and I change a color. The codes would update automaticaly. Do you ...
KSPR's user avatar
  • 1,676
1 vote
2 answers
175 views

Programmatic circle diagram approach/technology

I'd like to make something like this programatically. http://www.feelingswheel.com/ Does anyone have a suggestion? Could you approach this programmatically with Illustrator, Inkscape, HTML5, or Three....
bobharris's user avatar
1 vote
2 answers
637 views

Is there a script to re-stack objects in illustrator by distance from top left?

This is ideal for the creation of isometric graphics. You can replicate an isometric tile symbol with a graphic in it, like a house or a tree, multiple times, then run the script to re-stack all ...
runninghead's user avatar

1
2 3 4 5