Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MRMCD 2024 files / Fix After Effects example #68

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
405 changes: 269 additions & 136 deletions make-adobe-after-effects.py

Large diffs are not rendered by default.

205,866 changes: 205,866 additions & 0 deletions mrmcd2024/intro.aepx

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions mrmcd2024/intro.jsx
Original file line number Diff line number Diff line change
@@ -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()
Binary file added mrmcd2024/intro.scpt
Binary file not shown.
Binary file added mrmcd2024/rubik-bold.ttf
Binary file not shown.
Binary file added mrmcd2024/rubik-regular.ttf
Binary file not shown.
Binary file removed voc_ae/(Footage)/c3voc.png
Binary file not shown.
Binary file removed voc_ae/intro.aep
Binary file not shown.
5,217 changes: 5,217 additions & 0 deletions voc_ae/intro.aepx

Large diffs are not rendered by default.

42 changes: 24 additions & 18 deletions voc_ae/intro.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
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 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_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;
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_title.text = "$title"
textProp_title.setValue(textDocument_title)

textDocument_persons.text = "$personnames";
textProp_persons.setValue(textDocument_persons);
textDocument_persons.text = "$personnames"
textProp_persons.setValue(textDocument_persons)

app.project.save();
app.quit();
app.project.save()
app.quit()