Some of script I modified from many publicly/unlicensed scripts on Stack Overflow, Stack Exchange, Adobe Community Forum.
Disclaimer: I'm a designer, not a programmer. So the code might "wrong", but I've tested and it definitely works :) Open for correction and please do submit PR if you want to fix it, and help me learn
Add Prefix to Layer Name -- Tested on Adobe Illustrator 2019 -- Batch adding prefix to all visible layers in active document (invisible layer will not be affected). Prefix is assigned from input box that appear when executing script. Adapted & modified from:
- https://stackoverflow.com/a/32877698
- https://community.adobe.com/t5/Illustrator/Script-rename-layers/m-p/2450915#M4589
Add Prefix to Layer Name -- Works exactly the same as LayerRename-AddPrefix, but this one wrapped in function. Much more correctly structurized (or efficient?) in programming point of view?
Add Prefix to Layer Name -- Tested on Adobe Illustrator 2019 -- Same as LayerRename-AddPrefix but for artboard.
Modified from: