Copy link to clipboard
Copied
Hey guys,
does anybody know how can I toggle enable/disable this 'eye' - video icon in script?
Thanks for help!
Adam
app.project.item(index).layer(index).enabled = false;
Check out the Layer object section of the After Effects CS6 Scripting guide pdf.
Copy link to clipboard
Copied
app.project.item(index).layer(index).enabled = false;
Check out the Layer object section of the After Effects CS6 Scripting guide pdf.
Copy link to clipboard
Copied
Thanks!! couldns find that in the pdf.
Copy link to clipboard
Copied
It's listed in the guide as the 'Layer enabled attribute'.
Please mark your questions as answered / correct once they have been otherwise they stay listed as unanswered. Thanks.