I am a freelance developer and your donations help me continue to create free resources. You can donate to this project using the button below. Every bit helps.
Before You Start
This script has only been tested on Adobe Illustrator CC 2014. It was written to complete a one-off personal project. If you find it useful, fantastic. But I cannot verify whether or not it will work on every system.
- Place this script in Applications/Adobe Illustrator CC 2018/Presets/en_US/Scripts/
If you are not using the US English translation of Adobe Illustrator,
the `en\_US` folder will match that of your translation.
Also, the Adobe Illustrator folder may have a different name depending on which version of Illustrator you have installed.
- Restart Adobe Illustrator to activate the script
- The script will be available under menu File > Scripts > Ai Merge.
- Enter values in the dialog for Artboard Width, Artboard Height, Artboard Spacing
- Choose the folder of SVG, AI, PDF, and/or EPS files. Nested folders are fine. The script will search through any nested folders for any files matching the specified file types.
- When the script runs, you will be asked to select a source folder of files you want to merge. The script will ignore any files that do not match the selected types.
- The script will create a new Adobe Illustrator document with an artboard for each file. Please note that Adobe Illustrator allows up to 1,000 artboards so the script will only work on the first 1,000 files it finds.
- If logging is enabled (in the startup dialog) the script will create a log file named ai-script-log.txt on the Desktop of your computer. To turn this off, set the variable named logging to false near the top of the script.
CreditsYou are free to use, modify, and distribute this script as you see fit as long as you maintain the copyright notices in the original source files. A link to the Atomic Lotus website would be appreciated as well. You must also extend the same license to users of your code. This is not to say that your original code must be open source, but the code from this project must remain free and open forever.
Ai Merge by :Scott Lewis <email@example.com>
There may have been other scripts that inspired or were used in the creation of this script. Any omissions of credits are purely accidental. If you recognize an omission, please let me know and I will happily add credit where it is due.
The JSON parser was written by Douglas Crockford. You can get a copy of the original code at https://github.com/douglascrockford/JSON-js.
Disclaimer of Liability
This script is offered AS-IS without any warranty or guarantees of any kind. You use this script completely at your own risk and under no circumstances will the developer and/or distributor of this script be held liable for damages of any kind including loss of data or damage to hardware or software. If you do not agree to these terms, do not use this script.