Skip to content

Commit

Permalink
intro/outro/pause for dcgtw
Browse files Browse the repository at this point in the history
  • Loading branch information
derchrisuk committed Jun 3, 2018
1 parent 4013855 commit 31cde00
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ schedule.de.xml
.gen.svg
snapshot-*.png
env
.DS_Store
Binary file added dcgtw/(Footage)/voctomix_background_tutzing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dcgtw/intro.aep
Binary file not shown.
23 changes: 23 additions & 0 deletions dcgtw/intro.jsx
Original file line number Diff line number Diff line change
@@ -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();
Binary file added dcgtw/intro.scpt
Binary file not shown.
Binary file added dcgtw/outro.aep
Binary file not shown.
Binary file added dcgtw/pause.aep
Binary file not shown.

0 comments on commit 31cde00

Please sign in to comment.