Hi
I have a script which copies the active layer's name to the clipboard (thanks to the users in this forum):
app.system( "echo " + activeDocument.activeLayer.name + " | CLIP");
...Is there a way to copy the active layer's Parent name to the clipboard instead?
or to take it a step further, copy the Parent name first, then copy the active layer name?
For example, it would copy to the clipboard: "Group 1- Layer 1"
(meaning that there is a group entitled "Group 1", and inside that group is 'Layer 1' (which, by the way, would also be the active layer))
Or if that's too complicated, then just to simply copy the parent name.
Hope this makes sense...