intro/outro/pause for dcgtw
This commit is contained in:
parent
4013855064
commit
31cde009de
7 changed files with 24 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ schedule.de.xml
|
||||||
.gen.svg
|
.gen.svg
|
||||||
snapshot-*.png
|
snapshot-*.png
|
||||||
env
|
env
|
||||||
|
.DS_Store
|
||||||
|
|
BIN
dcgtw/(Footage)/voctomix_background_tutzing.png
Normal file
BIN
dcgtw/(Footage)/voctomix_background_tutzing.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
BIN
dcgtw/intro.aep
Normal file
BIN
dcgtw/intro.aep
Normal file
Binary file not shown.
23
dcgtw/intro.jsx
Normal file
23
dcgtw/intro.jsx
Normal 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
BIN
dcgtw/intro.scpt
Normal file
Binary file not shown.
BIN
dcgtw/outro.aep
Normal file
BIN
dcgtw/outro.aep
Normal file
Binary file not shown.
BIN
dcgtw/pause.aep
Normal file
BIN
dcgtw/pause.aep
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue