JSX Script to batch rename selected items in an Illustrator document.
Download the JSX file and put the file in:
Applications/Adobe Illustrator [VERSION]/Presets/[LANG]/Scripts/
If Illustrator is opened close it after saving your work, and relaunch the application.
This script is made to rename Items and not layers (first level object). To use it, select the Items you want to rename, and reach the menu File > Scripts > Rename Items
- At the first prompt, empty the field and press Enter.
- At the second one, fill the field with the name you want. If you want an auto-incremented name, use the
%iplaceholder where you want in the name. E.i.:my-name-%iwill give you items namedmy-name-1,my-name-2,my-name-3etc. - (Optional) If you used
%i, a third prompt will appear letting you chose at which number the counting should start.
Same as previous, but at step 1, enter the part of the name you want to replace. For example, if you enter li, it will replace all the li occurrences in the selected items name by the word choosen in step 2, for example blo.
link will become blonk
tranquility will become tranquibloty
etc.
When the renaming is done, the item names are not refreshed. You will need to close/open the parent layer to make the renaming appears.