I have several pre-comps with dedicated text layers transcribing the audio voiceover (think open-captions).
I will be rendering various versions of this video, some with captions ON and some with them OFF, different arrangements of included/excluded pre-comps (chapters)... and I'm looking for a quick way to turn all caption layers on/off.
Rather than go in to each pre-comp and toggle opacity... I would like to:
I'm an extreme expression novice, but I've played around with some of the not-quite-so-fitting examples I've found online. But I only ever get the "This project contains an expression error..." warning.
Something like this should do it:
if (comp("main comp").layer("Null 1").effect("Checkbox Control")("Checkbox").value) 100 else 0
I had just hit "submit" over on Reddit with the same question when your response came in... Sheesh... is "Dan Ebberts" an AE Forum Bot?
This is what I had been using: if(thisComp("MAIN").thisLayer("NULL 1").effect("Checkbox Control")("Checkbox")).value==0) 0 else 100
So, I was close—I just didn't know how to call a different comp. Thanks!