-
referencing a comp by it’s name in a script
Hello,
First, sorry for my bad english, I read it but writing it is much more difficult 😉
I’m writing a script, and I know how to refer to a comp using proj.item(), but I want to use it’s name, not it’s “position” in the Project panel.
I’ve tried “comp.(“comp’s name)”.layer(“layer’s name”)….”, but it doesn’t work, because it’s a script, not an expression.
I’ve searched on internet, books, … but no solution.
Can someone help me ?
Thanks a lot :-),_____
Couad