My collection of Ai JSX scripts I use day-to-day
Copy the contents of this folder to Adobe Illustrator/Presets/EN_US/Scripting/
Replace EN_US
with whatever language you are using.
This script will save a list of currently open documents to a small JSON file in your home directory. You can re-open the same collection of files any time by running the script and choesing the Session date from the list. Only the 10 most recent sessions are saved.
- Navigate to
File / Scripts / Ai Sessions
- Click
Save
to save the current session - To return to a session navigate to
File / Scripts / Ai Sessions
- Select the desired session date from the list
This script will resize all artboards in all documents in a folder (such as a folder of SVG files).
- Navigate to
File / Scripts / Batch Resize Artboards
- When prompted, select the desired folder of files to resize
- When prompted, enter an integer value for the width/height of the new artboards.
This script creates a contact sheet from a source folder of SVG files. For more details see https://github.com/iconfinder/scripts-for-icondesigners/tree/master/icon-contact-sheet
This script will merge a folder of SVG files into a single document. Each SVG file will be placed on its own artboard. The artboard name will match the file name minus the file extension.
Since Illustrator is currently limited to 100 artboards per file, the script can only accommodate 100 files max. If you have more than 100 files, split them into multiple folders.
- Navigate to
File / Scripts / Merge SVG Docs
- When prompted, select the desired folder of files to merge
This script will move all items in an illustrator file to the nearest pixel.
- With an open Illustrator document
- Navigate to
File / Scripts / MoveItemsToNearestPixel
Exports all groups or layers in an Illustrator document to individual SVG or PDF files.
This script is a modified version of the script by the same name by Matthew Ericson - mericson@ericson.net
Copyright 2011 Matthew Ericson Comments or suggestions to mericson@ericson.net
This script resizes all artboards in an open Ai document.
- Navigate to
File / Scripts / Resize All Artboards
- When prompted, enter an integer value for the width/height of the new artboards.
This script exports any layers, Groups, or artboards whose name ends with .svg
as an SVG file.
This script is a modified version of the script by the same name by P. J. Onori as part of the Iconic system. For more information, please visit
This is an archive folder of the default Adobe Illustrator scripts.
This is an archive folder of older versions of scripts I use.