Skip to content

Instantly share code, notes, and snippets.

@justintaylor-dev
Last active June 27, 2019 18:39
Show Gist options
  • Save justintaylor-dev/7bc732d137a72f3b6d1ce064fdec8e5b to your computer and use it in GitHub Desktop.
Save justintaylor-dev/7bc732d137a72f3b6d1ce064fdec8e5b to your computer and use it in GitHub Desktop.
Red Gamma 3 #code_ppro
// Premiere Pro CC2018 and later
for (var selection, viewIDs = app.getProjectViewIDs(), i = 0; i < viewIDs.length; i++)
if (app.getProjectFromViewID(viewIDs[i]).name == app.project.name) {
selection = app.getProjectViewSelection(viewIDs[i]);
break
}
for (i = 0; i < selection.length;i++){
var item = selection[i];
item.videoComponents[0].properties[25].setValue(1); // set to REDgamma3
// item.videoComponents[0].properties[25].setValue(4); // set to REDlogFilm
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment