This script allows you to batch rename layers in Illustrator.
The script currently only works with string replacement. Regular expressions will eventually be added.
Save ai-layer-renamer.jsx
in your scripts folder.
- Windows:
Program Files\Adobe\Adobe Illustrator <version>\Presets\<language>/Scripts
- OS X:
/Applications/Adobe Illustrator <version>/Presets/<language>/Scripts
Run it from ExtendScript Toolkit.
- Make sure you have coffeescript installed.
- Run
cake watch
from the root of folder. - Run
cake build
to output .jsx file.
If you experience issues with the script as some people have, check out this issue for an alternative solution by SheepDomination.