Copy link to clipboard
Copied
Greetings,
Can anyone help me with a Photoshop script that sets the blending mode of each and every layer group in a file to Pass Through?
(I have some PSD files exported from another application and for some reason the groups are all set to Normal blending mode. As a result, the artwork doesn't look right. I need to change them all to Pass Through.)
Thank you!
change_mode(activeDocument.layerSets);
alert("Done");
function change_mode(sets)
{
try {
for (var i = 0; i < sets.length; i++)
{
sets[i].blendMode = BlendMode.PASSTHROUGH;
change_mode(sets[i].layerSets);
}
}
catch (e) { alert(e.line+ "\n\n" +e); }
}
Copy link to clipboard
Copied
change_mode(activeDocument.layerSets);
alert("Done");
function change_mode(sets)
{
try {
for (var i = 0; i < sets.length; i++)
{
sets[i].blendMode = BlendMode.PASSTHROUGH;
change_mode(sets[i].layerSets);
}
}
catch (e) { alert(e.line+ "\n\n" +e); }
}
Copy link to clipboard
Copied
Thank you!
Copy link to clipboard
Copied
Hello this is Mr.Brian Nicholas Buono and I'm hearing impaired as profoundly deaf myself anyway, I would like to talk with you all about many things we can open to discuss over about this as my please and thank you likewise!