Extendscript: Possible to check if layer is used in ANY effect?
Hello lovely community,
I started writing a script which deletes layers which are not visible and not used in the composition.
Therefore the script has to check if the layer(name) is not used in ANY effect. I've been able to loop through all properties of the comps layers (including the effect properties) to find dropdowns in which the layer could be used. But I can only access the numerical value of the dropdowns, not the layer name, which I need to compare the layer names and find out if a layer can be deleted.
Does anyone has an idea on how to do this? 🙂 Or is it simply not possible to access textvalues of dropdowns by looping through all properties of layers.
Thank you so much!
Martin
