Search found 2 matches

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

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);"
by greenlimejuice
July 27th, 2017, 5:17 pm
Forum: Scripts Discussion
Topic: setValue() to levels effect not returning expected value
Replies: 1
Views: 6940

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")....