Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Null Color Control values conversion to keylight 1.2 Screen color

  • Null Color Control values conversion to keylight 1.2 Screen color

  • Thomas Rimmer

    April 6, 2021 at 3:32 am

    Good evening fellow scripters, I’m having trouble writing a Extendscript that takes a color value from composition footage via Color control in null object to input into Keylight 1.2 as PW for Screen colour.

    here is my code

    var mainNull = myComp.layers.addNull();

    var colorControl = mainNull.property(“Effects”).addProperty(“ADBE Color Control”);

    //Default value is setValue([0,128,0]);

    colorControl.property(“ADBE Color Control-0001”).setValue([0,128,0]);

    C = thisComp.layer(“Null 1”).effect(“ADBE Color Control-0001”)(“Color”);

    KeyLightEffect.property(“Screen Colour”).setValue(C);

    I feel like im missing something can someone help me out ? 🙂

Viewing 1 of 1 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy