Create and delete text layer
Hello.
I've searched the web upside down searching for a script that would do the following:
In the first script would be for text creation and searching I was able to find how to create a script, but it only creates in a composition. How do I create in all compositions?
{
activeComp = app.project.activeItem;
T = activeComp.layers.addText ();
T.name = "COMPOSITION";
T.startTime = 0;
T.outPoint = activeComp.duration;
T.text.sourceText.expression = "thisComp.name";
T.transform.position.setValue ([40,82,0]);
T.locked = true;
}
The second script would be delete in all the compositions the layer text created above.
If anybody can provide a script that would be such a thing - it would be highly appreciated.
Regards,
Hernrique
