Script advice
Posted: January 24th, 2013, 7:35 am
Hi, I'm attempting to create a ui panel for our promo producers where they can input data into set layers in a project and replace a videofile. They should also be able to send the project to render in the background and I found a script for that.
Being new to scripting I have a few questions;
Why does this work
alert(theComp.layer(1).text.sourceText.value;
and not this?
theComp.layer(1).text.sourceText.value="what?";
How do I reference a comp or layer based on name and not index?
Can I get a comp to highlight based on a dropdownlist?
Can I get the script to open a new project based on a dropdownlist?
I hope someone can help. Thank you!
Jorgen
Being new to scripting I have a few questions;
Why does this work
alert(theComp.layer(1).text.sourceText.value;
and not this?
theComp.layer(1).text.sourceText.value="what?";
How do I reference a comp or layer based on name and not index?
Can I get a comp to highlight based on a dropdownlist?
Can I get the script to open a new project based on a dropdownlist?
I hope someone can help. Thank you!

Jorgen