Unlock background layer by default and rename the layer
Hi, I would like to know if someone has a script to verify if there is a "background" layer in a file, and if there is one, it will unlocks it and rename it to for example "default". I would like to integrate it into the Script Events Manager, but if I use the one that is by default in photoshop it renames to the filename (I am not savy in scipting, I have tried to use actions but if the opened file dont have a background but a regular layer it gives me an error).
Thank you in advance
