I’m curious about editing expression controls, but more so how to change their name. Here’s where I’m stuck…
app.project.activeItem.layer(4).effect.addProperty(“Slider Control”);
app.project.activeItem.layer(4).effect.(“Slider Control”).name = “Raise/Lower Arm”;
I’ve been pawing through the scripting guide, but I have not been able to find anything about changing an expressions name. I tried this, thinking that it might work, and obviously it didn’t. I got the following error message:
“Function (predicate expression) cannot work with this class””
What do I need to do to change the name of an expression control?
Thanks!