-
How can I turn on and off a Checkbox effect in After Effect using ExtendScript?
I have a Checkbox effect on the first layer of the first composition in my project window. I’d like to know what the script would look like to control this Checkbox (on and off) via ExtendScript.
This is the path to my Checkbox effect:
app.project.item(1).layer(1).effect("Checkbox Control")("Checkbox");
I’ve tried to turn it on using:
app.project.item(1).layer(1).effect("Checkbox Control")("Checkbox") = true;
app.project.item(1).layer(1).effect("Checkbox Control")("Checkbox") = 1;
This hasn’t worked. What am I doing wrong?Any help would be much appreciated! Thanks!