Cannot assign values to trackItem.start or end
How do you change the value of "trackItem.end"? It worked before; now it doesn't.
var seq = app.project.activeSequence;
var vClip = seq.videoTracks[0].clips[0];
var aClip = seq.audioTracks[0].clips[0];
// Method 1: No error, but the value assignment doesn't work. No changes are made.
vClip.end.seconds = aClip.end.seconds;
// Method 2: Error. Cannot set property end. Changes are made, but the program quits on me after that.
vClip.end = aClip.end.seconds;
My script worked with Method 2 above a few months ago. Now it doesn't. Maybe there have been some changes to Premiere Pro or ExtendScript?