This is a collection of JSX scripts for Adobe Illustrator. All scripts created by me, sometimes used part of the code of other authors.
The descriptions for each file can be found in the file's header text. Test environment: Illustrator CS6, CC 2021 (Windows), CC 2018-2021 (Mac OS).
<script_name>.jsxin the Illustrator Scripts folder:
/Applications/Adobe Illustrator [vers.]/Presets.localized/en_GB/Scripts
C:\Program Files (x86)\Adobe\Adobe Illustrator [vers.]\Presets\en_GB\Scripts\
C:\Program Files\Adobe\Adobe Illustrator [vers.] (64 Bit)\Presets\en_GB\Scripts\
C:\Program Files\Adobe\Adobe Illustrator [версия]\Стили\ru_RU\Сценарии\
Drag and drop the script file (JS or JSX) into Adobe Illustrator Window
Script to rotate 90 degrees an document artboards with all the objects on it.
Author: Alexander Ladygin. UI: Sergey Osokin.
File → Scripts → ArtboardsRotateWithObjects
Convert a flat process color into a matching gradient.
What's new: The script now works with the RGB and CMYK document profile, Spot & Gray colors. Processes compound paths and groups of items.
Based on original script by Saurabh Sharma, 2010.
File → Scripts → ConvertToGradient
Script for copying the selected Artboard with his artwork. The Pro version with more options is available at Gumroad
File → Scripts → DuplicateArtboardsLight
Exports all selected objects to AI files.
Based on Layers to SVG 0.1 by Anton Ball.
File → Scripts → Export-selection-as-AI
This script is сan be easily custom ungrouping to all group items & releasing clipping masks in the document.
Based on original script by Jiwoong Song & modification by John Wundes.
File → Scripts → ExtUngroup
Script for collecting information about the program version of .ai & .eps files in selected folder & subfolder.
Notice: on large files it works slowly, just wait.
File → Scripts → FileVersionInformer
Convert a gradient to an interpolated solid color.
File → Scripts → GradientToFlat
The script inserts the SVG code as an object from the clipboard into the Adobe Illustrator CC 2014+. Adobe Illustrator CC 2018 v.22.1 (march, 2018) can insert SVG graphics without a script.
Author: Alexander Ladygin. Code refactoring: Sergey Osokin.
File → Scripts → InlineSVGToAI
Search items in the document by name and zoom to them contents. Inspired by Photoshop CC 2020 features.
File → Scripts → NamedItemsFinder
The script moves randomly in numeric ranges horizontally and vertically selected points or all points on objects.
File → Scripts → PointsMoveRandom
Creates random paths with a specified number of points. These can be random straight lines from 2 points or complex shapes that imitate scribbles. The points do not go beyond the bounds of the active artboard. If many shapes are first selected in the document, the script will generate individual paths with points into their bounding box.
File → Scripts → RandomScribble
Script to batch rename selected items with many options or simple rename one selected item / active layer.
File → Scripts → RenameItems
Automatic scaling of objects to the desired size. If you draw a line on top with the length or height of the desired object, 'Old Size' will be filled automatically. Units associated with "Document Setup".
File → Scripts → Rescale
Adobe Illustrator has a Transform panel, but you cannot use it to transform several selected objects to a specified value. It also has problems with the accuracy of the result. The script can transform selected objects with 100% accuracy, depending on the selected side: width, height or automatically the larger side. Units associated with "Document Setup". Quick access with Alt + underlined key or digit.
File → Scripts → ResizeToSize
After using the Lasso tool or Direct Selection Tool, both Points and Path segments are selected.
File → Scripts → SelectOnlyPoints
Selects points on the selected paths according to their type. Does the thing that even Astute Graphics plugins can't do :)
View → Hide Bounding Box to see active points in real time.
File → Scripts → SelectPointsByType
Powerfull script for subtract shapes from paths. Pathfinder panel in Adobe Illustrator does not do it.
File → Scripts → SplitPath
Setting the Stroke color of object based on an his solid or gradient fill. The option to automatically add an stroke is not available for Mac OS users with an Illustrator older than CC 2020.
File → Scripts → StrokeColorFromFill
Automatic trimming of all clipping groups in selection or a document using
Pathfinder > Crop.
If you want to save the filled mask after trimming, open the script file in a text editor and change
SAVE_FILLED_CLIPMASK = false; value to
File → Scripts → TrimMasks
Zooms active view to selection or to all object(s) in a document.
Based on original script by John Wundes.
File → Scripts → Zoom-and-center
You can view all the scripts that are not included in this collection in another repository
Found a bug? Please submit a new issues on GitHub.
All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.