Merge Duplicate Layers

is there a script or command that will merge all duplicate layer names? my files are built from a lot of copy/pasting from other files, and the layer names become a mess, as shown in attached there are duplicate A-LW1, A-LW2, etc. Ideally when i paste the layer would merge. also ideally the column sort function would be on by default like it used to be, now always have to click thru the hammer icon to activate it. also ideally could turn off the duplicate item name warning box every time i paste. thanks!

I think maybe you need to check this radio button:

(V5 has the same option)

That should keep this from happening in the future, but I don’t have a good solution to fix existing files though.


1 Like

wow! cant believe i hadnt seen that option! thank you!!!