Find/Replace Transfer mode

What type of scripts do you need?

Moderator: byronnash

Post Reply
Posts: 68
Joined: February 16th, 2009, 12:41 pm

Is there a way to globally find/replace all layers that use "screen" mode to "add" mode?
Posts: 6
Joined: July 1st, 2013, 3:38 am

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;
Post Reply