add mrmcd 2024 files
This commit is contained in:
parent
9504087fc7
commit
94f09b880a
5 changed files with 205895 additions and 0 deletions
205866
mrmcd2024/intro.aepx
Normal file
205866
mrmcd2024/intro.aepx
Normal file
File diff suppressed because one or more lines are too long
29
mrmcd2024/intro.jsx
Normal file
29
mrmcd2024/intro.jsx
Normal file
|
@ -0,0 +1,29 @@
|
|||
var projectFile = new File("$filename")
|
||||
app.open(projectFile)
|
||||
|
||||
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
mrmcd2024/intro.scpt
Normal file
BIN
mrmcd2024/intro.scpt
Normal file
Binary file not shown.
BIN
mrmcd2024/rubik-bold.ttf
Normal file
BIN
mrmcd2024/rubik-bold.ttf
Normal file
Binary file not shown.
BIN
mrmcd2024/rubik-regular.ttf
Normal file
BIN
mrmcd2024/rubik-regular.ttf
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue