Would it also be possible to optionally sync the layer content itself between layers. Copy not only the layer mask but also the layer content (optionally). This is useful when you have layers with the same content in multiple layer groups for different maps NM/DM/GM/SM... . These layers can have different 'Layer styles'…
I wasnt thinking about layer styles, but ya after im off my current contract im thinking of getting back to this, and making it work for all layers, and letting it copy content as well as masks.
That could make this script even more useful! Actually, Ddo from Quixel uses layer styles in a similar fashion. They create Material layers and inside them they have layers for effects. These layers each have different layer styles for the different maps DM/NM/SM/GM... But the layer content and the mask of these layers are…