Problem 1
I don't know how I can change the size/color/font.
I've looked through the forum and found some things which didn't seem to work ^^.
Copying one of Impudent's script I came to that script. (a simple one ^^)
Code: Select all
{
app.preferences.savePrefAsLong("Text Style Sheet", "Size", 15);
app.preferences.saveToDisk();
app.preferences.reload();
app.project.activeItem.layers.addText("jambon");
app.preferences.savePrefAsLong("Text Style Sheet", "Size", 35);
app.preferences.saveToDisk();
app.preferences.reload();
app.project.activeItem.layers.addText("frites");
}
Problem 2
I don't know how I can add an animation property.
I've aleady added a selector but I didn't manage to add the property.
The scripting guide doesn't explain anything about that...
By the way, if anyone could help me on these things.
Shinjipierre