-
scripting question: within my script I’m trying to link a leyer property to a slider control… but I’m failing miserably
Within my script I’ve been able to create a layer, add a mask, add a slider control, rename and set a value to the slider. Now where I’m getting stuck is I’m trying to create a scripted expression to link the property maskFeather to the slider and it’s not working. Why I’m stumped is, I can get the script add an expression like time*15, or a wiggle but when I try to link it to the slider control i get an error “unable to execute script at line 55. Expected:;
Here what I’ve got so far.
var curExp1 = “effect(“Feather”)(“Slider”)”;
curLayer.property(“Masks”).property(“Mask 1”).property(“maskFeather”).expression = curExp1;
Help?