Output name of every smart object in a PSD file?

Started by phennessey, August 19, 2022, 04:30:29 AM

Previous topic - Next topic

phennessey

Many PSD files contain smart objects, but -LayerUnicodeNames makes no distinction in layer types when outputting layer names.

Would be amazing if there was a function that would output the name of every smart object in a PSD file, like -SmartObjectUnicodeNames.

Phil Harvey

Could you upload a small sample with named smart objects so I can have something to play with?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

blue-j

Here ya go!  I added a screenshot for you.  One layer contains a smart object, the other layer does not.

- J