Photoshop Scripting: linkedLayers property on layers does not seem to work.
I'm trying to detect if an artlayer has layers or adjustment layers linked to it.
There is the property linkedlayers that should be an array of linkers linked to this layer.
I tried this simple code on many linked layers, but the array.length is always 0.
I don't see what's wrong here...
var layer = app.activeDocument.activeLayer;
alert(layer.linkedLayers.length);
I'm using PS2020...
What I consider a linked layer for example an artlayer, with an curve adjustmentlayer linked on it. I would expect when the active layer is the artlayer, there is one linkedlayer in the array, the curve adjustment layer... or am I missing something?
