Skip to content

Instantly share code, notes, and snippets.

@justintaylor-dev
Created June 11, 2021 04:48
Show Gist options
  • Save justintaylor-dev/1685a3b2f85efe3e6840c14aca47aeba to your computer and use it in GitHub Desktop.
Save justintaylor-dev/1685a3b2f85efe3e6840c14aca47aeba to your computer and use it in GitHub Desktop.
footage-to-red-gamma4 #code_ppro
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];
var effect = item.videoComponents()[0];
effect.properties[25].setValue(0); // set to REDgamma4
// effect.properties[25].setValue(11); // set to Log 3G10
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment