Duplicate layer to different document with new layer name.
I am trying to replicate the Photoshop function of "Duplicate Layer" where I can take a layer from an active document and duplicate it to a target document AND set the name of the new layer once it is copied.
Javascript is the language.
Windows CS4 if it matters.
Any suggested code snippets?
Thanks
-Mike