Page 1 of 1

Find/Replace Transfer mode

Posted: July 1st, 2013, 11:40 pm
by Navstar
Is there a way to globally find/replace all layers that use "screen" mode to "add" mode?

Re: Find/Replace Transfer mode

Posted: July 2nd, 2013, 3:06 am
by jus2poubelle
You have to do it for every compItem inside the project, but here is the base code to change blending mode of every layers inside a composition:

Code: Select all

    var myProj = app.project;
    var myComp = app.project.activeItem;
    for (var o = 1; o <= myComp.numLayers; o++)
        var myLayer = myComp.layer(o);
        if ( myLayer.blendingMode == BlendingMode.SCREEN)
            myLayer.blendingMode = BlendingMode.ADD;