Expressions/Scripts/Presets

Search found 2 matches

by greenlimejuice
Fri Jul 28, 2017 11:52 am
Forum: Scripts Discussion
Topic: setValue() to levels effect not returning expected value
Replies: 1
Views: 267

Re: setValue() to levels effect not returning expected value

Dan Ebberts answered my question on creative cow.  " Colors need to be normalized to be between zero and one. So this should work to get 141: myComp.property("Effects").property("Levels").property("Input White").setValue(141/255);&qu...
by greenlimejuice
Thu Jul 27, 2017 5:17 pm
Forum: Scripts Discussion
Topic: setValue() to levels effect not returning expected value
Replies: 1
Views: 267

setValue() to levels effect not returning expected value

I'm trying to add a levels effect to a composition and set the value for "Input Black" and "Input White" However, when I run the script in After effects I see values thousand above what I put in.  Here is my code: myComp.property("Effects").property("Levels")....