GithubHelp home page GithubHelp logo

geoffreycrofte / illustrator-rename-items-script Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 5.0 16 KB

JSX Script to batch rename selected items in an Illustrator document.

License: GNU General Public License v3.0

JavaScript 100.00%
illustrator-scripts illustrator

illustrator-rename-items-script's Introduction

Batch Rename Items in Illustrator

JSX Script to batch rename selected items in an Illustrator document.

How to install

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.

How to use it

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

I want to batch rename

  1. At the first prompt, empty the field and press Enter.
  2. At the second one, fill the field with the name you want. If you want an auto-incremented name, use the %i placeholder where you want in the name. E.i.: my-name-%i will give you items named my-name-1, my-name-2, my-name-3 etc.
  3. (Optional) If you used %i, a third prompt will appear letting you chose at which number the counting should start.

I want to search and replace

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.

Bug known

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.

Authors/Contributors

  • Author:
  • From an original script:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.