FORUMS: list search recent posts

ADBE Checkbox Control

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Fabio Apelbaum
ADBE Checkbox Control
on Jul 12, 2016 at 7:53:36 pm
Last Edited By Fabio Apelbaum on Jul 12, 2016 at 8:04:34 pm

Hi guys! newbie question...

I was given a project that has a layer with multiple checkbox effect, I want to be able through scripting to access the checkbox property and through a for loop, be able to turn one checkbox at the time. The problem is I have no idea how to access the checkbox property to turn the checkbox on or off.

I have the matchname to the checkbox property.... but how can I tell the checkbox to turn ON or OFF?
dayLayer.effect("ADBE Checkbox Control")("ADBE Checkbox Control-0001")

Sample of what one of the layers looks like:


Thanks!!!

Fabio


Return to posts index

Fabio Apelbaum
Re: ADBE Checkbox Control
on Jul 12, 2016 at 8:19:28 pm

To answer my own question, I found out that by doing:
dayLayer.effect("ADBE Checkbox Control")("ADBE Checkbox Control-0001").setValue(false)

will turn it off in case someone else would like to know.

Thanks!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]