intro/outro/pause for dcgtw

This commit is contained in:
derchris 2018-06-04 01:41:31 +02:00
parent 4013855064
commit 31cde009de
7 changed files with 24 additions and 0 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@ schedule.de.xml
.gen.svg
snapshot-*.png
env
.DS_Store

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
dcgtw/intro.aep Normal file

Binary file not shown.

23
dcgtw/intro.jsx Normal file
View file

@ -0,0 +1,23 @@
var comp;
for (var i = 1; i <= app.project.numItems; i ++) {
if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name === 'text')) {
comp = app.project.item(i);
break;
}
}
var layer_title = comp.layer('intro_title');
var textProp_title = layer_title.property("Source Text");
var textDocument_title = textProp_title.value;
var layer_persons = comp.layer('intro_personnames');
var textProp_persons = layer_persons.property("Source Text");
var textDocument_persons = textProp_persons.value;
textDocument_title.text = "$title";
textProp_title.setValue(textDocument_title);
textDocument_persons.text = "$personnames";
textProp_persons.setValue(textDocument_persons);
app.project.save();

BIN
dcgtw/intro.scpt Normal file

Binary file not shown.

BIN
dcgtw/outro.aep Normal file

Binary file not shown.

BIN
dcgtw/pause.aep Normal file

Binary file not shown.