A simple JavaScript for Adobe Illustrator to select all of the artwork on each artboard, group, then center it.
Donations open source developers, who are often self-employed freelancers, continue to create free resources. You can donate to this project using the button below. Every bit helps.
You can donate to this project via PayPal - https://paypal.me/iconify/5.
To use this script, you will need to copy the file Center on Artboards.jsx
to your Illustrator scripts folder, then restart Illustrator. Follow the steps below to install.
- Unzip the download archive.
- Copy the enter Center on Artboards folder to
Adobe Illlustrator/Presets/{language}/Scripts/
where {language} is your chosen language. For example, if you have a US version of Illustrator this will been_US
. - Restart Illustrator
- Once Illustrator restarts, verify that the script was installed by going to
File > Scripts > Center on Artboards
- Go to
File > Scripts > Center on Artboards
to launch the script - The script will automatically loop through each artboard, select the artwork, group it, then center it.
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.
You 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.
Attribution:
Center on Artboards by:
Scott Lewis scott@atomiclotus.net
https://atomiclotus.net