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 (Windows), CC 2017 (Mac OS).
- ArtboardsRotateWithObjects.jsx
- ConvertToGradient.jsx
- Export-selection-as-AI.jsx
- ExtUngroup.jsx
(upd, 25.11.2019)
- FileVersionInformer.jsx
- InlineSVGToAI.jsx
- PointsMoveRandom.jsx
(new, 08.05.2020)
- RenameItems.jsx
(new, 13.12.2019)
- Rescale.jsx
(upd, 25.03.2020)
- ResizeToSize.jsx
(upd, 17.04.2020)
- SelectOnlyPoints.jsx
(upd, 29.11.2019)
- SplitPath.jsx
- TrimMasks.jsx
(new, 11.03.2020)
- Zoom-and-center.jsx
- Download archive and unzip. All scripts are in the folder
jsx
- Place
<script_name>.jsx
in the Illustrator Scripts folder:- OS X:
/Applications/Adobe Illustrator [vers.]/Presets.localized/en_GB/Scripts
- Windows (32 bit):
C:\Program Files (x86)\Adobe\Adobe Illustrator [vers.]\Presets\en_GB\Scripts\
- Windows (64 bit):
C:\Program Files\Adobe\Adobe Illustrator [vers.] (64 Bit)\Presets\en_GB\Scripts\
- OS X:
- Restart Illustrator
Drag and drop the script file (JS or JSX) into Adobe Illustrator Window
I recommend the Scripshon Trees panel. In it you can specify which folder your script files are stored in.
If you find this script helpful, you can buy me a coffee ☕️ via PayPal or Yandex Money 🙂
![](images/yandex_badge.gif)
Script to rotate 90 degrees an document artboards with all the objects on it.
Author: Alexander Ladygin. UI: Sergey Osokin.
- Open your file
- Run script
File → Scripts → ArtboardsRotateWithObjects
- Select the options in the dialog box & click
Ok
button
![](images/download.png)
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.
- Select objects
- Run script
File → Scripts → ConvertToGradient
- Enter a numeric values in input fields
![](images/download.png)
Exports all selected objects to AI files.
Based on Layers to SVG 0.1 by Anton Ball.
- Select objects
- Run script
File → Scripts → Export-selection-as-AI
- Select options in dialog box
![](images/download.png)
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.
- Select object(s) to ungroup or deselect all
- Run script
File → Scripts → ExtUngroup
- Select options in dialog box
![](images/download.png)
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.
- Run script
File → Scripts → FileVersionInformer
- Choose folder with .ai or .eps files
- Wait for the completion message
- Look "FileVersionInformer.txt" in source folder
![](images/download.png)
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.
- Run script
File → Scripts → InlineSVGToAI
- Paste your svg code in textarea
- Press button "Paste"
![](images/download.png)
The script moves randomly in numeric ranges horizontally and vertically selected points or all points on objects.
- Run script
File → Scripts → PointsMoveRandom
- Enter number values
- Choose options
- Press button "Apply" or Alt+A
![](images/download.png)
Script to batch rename selected items with many options or simple rename one selected item / active layer.
- Run script
File → Scripts → RenameItems
- Enter name
- Choose options
![](images/download.png)
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".
- Run script
File → Scripts → Rescale
- Enter numeric values
- Press button "OK"
![](images/download.png)
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.
- Run script
File → Scripts → ResizeToSize
- Enter numeric values
- Choose options
- Press button "OK"
![](images/download.png)
After using the Lasso tool or Direct Selection Tool, both Points and Path segments are selected.
- Select points on paths with Direct Selection Tool
key: A
or Lasso toolkey: Q
- Run script
File → Scripts → SelectOnlyPoints
![](images/download.png)
Powerfull script for subtract shapes from paths. Pathfinder panel in Adobe Illustrator does not do it.
- Place the closed filled shape top
- Select shape and line
- Run script
File → Scripts → SplitPath
- Select cut method in dialog box
![](images/download.png)
Automatic trimming of all clipping groups in selection or a document using Pathfinder > Trim.
- Select object(s) or deselect all
- Run script
File → Scripts → TrimMasks
![](images/download.png)
Zooms active view to selection or to all object(s) in a document.
Based on original script by John Wundes.
- Select object(s) to zoom or deselect all
- Run script
File → Scripts → Zoom-and-center
- If nothing is selected, you will see a dialog with options
![](images/download.png)
- Sergey, these scripts of yours are great. — Terry Foxx
- Wow. I just installed and successfully tested. Outstanding work!!!. — Zak Lay
- Tried your script to export selected objects to separate Ai, works smartly. — Dmitry
Found a bug? Please submit a new issues on GitHub.
Email [email protected]
All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.