Renaming all layers with in a PSD file

Is there a way or renaming all layers within a PSD file?

Thanks,

Jacob
jacobcoltonAsked:
Who is Participating?
 
Jason210Connect With a Mentor Commented:
Yes, a simple Java script can be written to do the job. Save the file as RenameLayers.js (or whatever), place it in your Presets/Scripts folder (located inside the Photoshop CS install folder) and then select it from File, Scripts, RenameLayers.js

Read through the documents in the Scripting Guides folder for instructions on how to write scripts. You can find it the Photoshop CS install folder. There are examples there too, let me know if I can help more.
0
 
Pete LongTechnical ConsultantCommented:
I dont there is the funtionality to rename all the layers at once - unfortunately I think you have to do them one at a time - but I'll happily be proved wrong :^)
0
 
Jason210Commented:
Sorry, no. You can only do one at a time.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
Pete LongTechnical ConsultantCommented:
Thought so :) but usually when I say "no you cant" a bright spark proves me wrong LOL
0
 
hujiCommented:
You can rename them faster by using an action, but the result is probably several layers with a same name:
Create a new action
Start recording
Rename a layer
Finish recording

Now play this for other layers!
0
 
Sohel RanaCommented:
Hi:

I don't think you can rename all the layers at a time in a psd file, because each layer contains different effects. When you select each layer you will notice the change. You can try according to huji's suggestion. Personally, I feel to renaming layer individually because it is more safe not to loose your original effect or work.

rsdn
0
 
hujiCommented:
By the way, I'd be glad to know what is the main idea behind this question. Why did you ask this jacobcolton ?
Huji
0
 
jacobcoltonAuthor Commented:
I wanted to create an action to export to gif all the layers within a psd file. I currently have a psd will many layers that are not generically named. So I wated to rename all the layers e.g. Layer1, Layer2 etc...

Regards,

Jacob
0
 
hujiCommented:
Why can't you use that action with unnamed layers?
0
 
jacobcoltonAuthor Commented:
There is no way of getting photoshop to cycle through randomly named layers that i know of...
0
 
Jason210Commented:
There may be a scripting solution...although I've never done much with scripts. I'll look into and get back to you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.