Last active
June 27, 2019 18:39
-
-
Save justintaylor-dev/7bc732d137a72f3b6d1ce064fdec8e5b to your computer and use it in GitHub Desktop.
Red Gamma 3 #code_ppro
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
// 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