How can I turn on and off a Checkbox effect in After Effect
Posted: July 11th, 2013, 8:18 pm
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:
I've tried to turn it on using:
This hasn't worked. What am I doing wrong?
Any help would be much appreciated! Thanks!
This is the path to my Checkbox effect:
Code: Select all
app.project.item(1).layer(1).effect("Checkbox Control")("Checkbox");
Code: Select all
app.project.item(1).layer(1).effect("Checkbox Control")("Checkbox") = true;
app.project.item(1).layer(1).effect("Checkbox Control")("Checkbox") = 1;
Any help would be much appreciated! Thanks!