-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4013855
commit 31cde00
Showing
7 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ schedule.de.xml | |
.gen.svg | ||
snapshot-*.png | ||
env | ||
.DS_Store |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.