Answered
Javascript to select background layer and apply solid color
Hi i need a Javascript to select background layer and apply solid color for photoshop CC 2019. Can anyone give code for this,
Thanks in advance.
Hi i need a Javascript to select background layer and apply solid color for photoshop CC 2019. Can anyone give code for this,
Thanks in advance.
It looks like you manually changed the name of the first layer and the auto rename is not working. Try this:
for (var i=2;i<=1000;i++)
{activeDocument.activeLayer.name=(activeDocument.activeLayer=activeDocument.activeLayer.duplicate()).textItem.contents=i}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.