rc3 2021: csh / gehacktes intros

This commit is contained in:
derchris 2021-12-28 18:23:29 +01:00
parent efd5e61a2e
commit 6d81b601ad
9 changed files with 33653 additions and 29 deletions

7369
rc3-2021/csh/intro.aepx Normal file

File diff suppressed because one or more lines are too long

24
rc3-2021/csh/intro.jsx Normal file
View file

@ -0,0 +1,24 @@
app.open(new File("$filename"));
var comp;
for (var i = 1; i <= app.project.numItems; i ++) {
if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name === 'intro')) {
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();
app.quit();

BIN
rc3-2021/csh/intro.scpt Normal file

Binary file not shown.

7465
rc3-2021/csh/intro_csh.aepx Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,24 @@
app.open(new File("$filename"));
var comp;
for (var i = 1; i <= app.project.numItems; i ++) {
if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name === 'intro')) {
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();
app.quit();

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long