- In the script description, click the "Direct Link" button.
- The tab will open the script code.
- Press Cmd/Ctrl + S for download.
- AlignToArtboards
upd, 06.11.2023
- BatchTrace
upd, 07.06.2023
- DuplicateToArtboards
upd, 09.02.2024
- FitSelectionToArtboards
upd, 22.04.2024
- MakeEnvelopesWithTops
- MirrorMove
upd, 07.08.2024
- PlaceSymbols
new, 16.08.2024
- RenameItems
upd, 20.05.2024
- Rescale
upd, 09.02.2024
- ResizeOnLargerSide
upd, 22.12.2022
- ResizeToSize
upd, 09.02.2024
- RoundCoordinates
upd, 22.12.2022
- SwapObjects
upd, 24.03.2024
The script aligns selected objects to their parent artboards or aligns the contents of all artboards in the document. If the object is on multiple artboards, the script checks which artboard has the center of the object and aligns to it. If the center of the object is outside the artboards, it aligns to the first artboard.
Warning
The script runs slower the more artboards you have with content and objects selected for alignment.
Batch tracing of selected placed and embedded images in a document or all images from a user-selected folder. The native menu Object → Image Trace → Make
is available for one selected image. Recording the action will not help, because the trace preset are not saved in it. In Adobe Bridge, only the image folder can be traced: Tools → Illustrator → Image Trace
.
Tweaks in the script code:
CFG.extList
— a list of extensions to be processed from the folder. You can add your own or remove some to skip the script;CFG.isReverse
— reverse the order of the presets list (true), the user presets will be at the top.
Important
The speed of the script depends on the specifications of your PC, the tracing preset and the amount of images.
Warning
Adobe scripts incorrectly apply the Colors value from custom presets, so the tracing result may not match the preset. The big difference is seen in CC 2023. Vote for a fix at Uservoice.
Note
Vote on Uservoice to add this feature to Illustrator.
Duplicates the objects selected on the active artboard to the same position on specific artboards. Artboard numbers are entered with a comma or hyphen. Empty input - objects are duplicated to all artboards except the original artboard. Enable Preserve layers
if the selected objects are in different layers and should stay there.
The color of temporary artboard indexes changes in the code CFG.color: [255, 0, 0]
.
Feature Request on Illustrator Uservoice
Places selected objects in the center of artboards and optionally fit the largest side of each object to the size of the artboard. When scaling objects, you can set internal paddings from the artboard bounds. With the Rename artboards...
option enabled, artboards get names from the objects placed on them.
It has two modes: silent and dialog. Modes change without editing the code if you hold down the Alt key when running the script:
- Alt +
CFG.showUI: false
the dialog will be shown - Alt +
CFG.showUI: true
silent mode with the latest options
The Lite version (FitSelectionToArtboards-Lite.jsx) in silent mode aligns and fit topmost selected object to the active artboard. If the CFG.isContains:true
flag is changed in its code, then the selected object will be processed only if it was contained on the artboard.
Distorts the selected bottom object by the top selected objects separately. Similar to the multiple run of the command Object > Envelope Distort > Make with Top Object
.
Mirror movement the object or points using the last values of the Object > Transform > Move...
or last move with the mouse / keyboard. Extends the native Object > Transform > Transform Again
. Axes: XY, X, Y. Movement ratio — the ratio of how much distance to move relative to the previous one (1 = the same). It has two modes: silent and dialog. Modes change without editing the code if you hold down the Alt key when running the script:
- Alt +
CFG.showUI: false
the dialog will be shown - Alt +
CFG.showUI: true
silent mode with the latest options
Searches the document library for symbols by name and places the selected ones on the canvas. The script speeds up working with a large local symbol library. The Instances column counts all instances of the symbol in the document.
Note
Vote on Uservoice to improve the Symbols panel in Illustrator.
Script to batch rename selected items or their parent layers with many options or simple rename one selected item / active layer / artboard. The find and replace function supports RegExp.
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".
Resize of the selected objects to the specified amount on the larger side. Works with document units.
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 Q + underlined key or digit. Instead of Q you can set your modifier key in the script file modKey: 'Q'
.
Note
Vote on Uservoice #1, Uservoice #2 to add this feature to Illustrator.
The script rounds the coordinates of each selected object. The reference point gets from the Transform
panel. The script aligns to the stroke if Preferences > Use Preview Bounds
is enabled. In the script file, you can change the coordinate rounding step in the CFG step: 1
. If the step is 0, the script aligns to the document grid from Preferences > Guides & Grid
.
Note
Vote on Uservoice to add this feature to Illustrator.
Swaps the coordinates of two selected objects by reference point and the order within the layer optionally.
Warning
Don't put this script in the action slot for a quick run. It will freeze Illustrator.
Many scripts are free to download thanks to user support. Help me to develop new scripts and update existing ones by supporting my work with any amount via Buymeacoffee USD
, ЮMoney RUB
, Tinkoff RUB
, Donatty RUB
, DonatePay RUB
. Thank you.
Found a bug? Please submit a new issues on GitHub.
Email hi@sergosokin.ru
Telegram @sergosokin
All scripts is licensed under the MIT licence.
See the included LICENSE file for more details.