Photoshop Scripts

Automate your creative workflow

Rename Layers

This script renames all layers in the active document, including those within groups. The script prompts for a layer name pattern, and then renames and numbers the layers.

Note: This script also contains user-customizable variables (near the top of the script) for configuring the starting count (default is 1), zero-padding (default is 3), name separator (default is a space), and direction (default is top to bottom).


Download

To download this script, right-click (Ctrl-click on the Mac) on the appropriate version below, and choose "Save Target As".

Rename Layers
Version: 1.8.1 (June 5, 2010)
Download for: Photoshop Script Photoshop CS or  Photoshop Script Photoshop CS2+

Note: The only significant difference between the CS and CS2+ versions of this script is the extension. Photoshop CS scripts have a ".js" extension, while scripts for Photoshop CS2 and higher use ".jsx".


Installation

Download the script that corresponds to your version of Photoshop, and copy it into your "Adobe Photoshop CS#/Presets/Scripts" folder.

After restarting Photoshop, the script should appear in the File » Scripts menu.

For more detailed instructions, see the Installing Scripts section of the Scripting Photoshop, Part 1 tutorial.

Tip: Did you know that you can use the Edit » Keyboard Shortcuts command (Ctrl/Cmd+Alt/Opt+Shift+K) to assign keyboard shortcuts to your scripts? You can also record scripts within actions and then assign function keys to the actions.
Share this page:

Custom Scripts

Do you need a script to automate your repetitive workflow?
Contact us with the details, and we’ll provide you with a free estimate.

Request Custom Script