Skip to content

Instantly share code, notes, and snippets.

@monsieuroeuf
Last active August 4, 2016 01:50
Show Gist options
  • Save monsieuroeuf/71b52d414e2e6508615c to your computer and use it in GitHub Desktop.
Save monsieuroeuf/71b52d414e2e6508615c to your computer and use it in GitHub Desktop.
Premiere Pro: Give it a list of times in seconds, and it'll bosh a whole lot of markers into the active sequence. #premiere
#target premierepro-8.0
// 2014-09-08 Ian Haigh (ianhaigh.com)
// Give it a list of times in seconds, and it'll bosh a whole lot of markers into the active sequence. Useful in combination with "List marker times in active sequence.jsx"
m = app.project.activeSequence.markers;
var times = [55.68,87.88,165.16,205.32,258.12,337.76,379.56,442.04,509,600,705.72,828.32,940.32,984.32,1023.04,1084.32,1170.08,1225.76,1313.28,1454.64,1563.32,1664.76,1951.48,2353.68];
for (var c=0; c < times.length; c++) {
m.createMarker(times[c]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment