Highlighted

Extend script crash when setting start/end on TrackItem

New Here ,
Aug 05, 2020

Copy link to clipboard

Copied

When executing this simple code in Premiere 2020 (14.3.1 Build 45) :

var clip = app.project.activeSequence.videoTracks[0].clips[0];
clip.end = 12;

The end time of the clip changes properly but I get the error "Cannot set property end".

I tested the exact same code in Premiere 2019 (13.1.5 Build 47) and it changes the clip end without throwing any error...
Any idea why it does that ?

Many thanks

TOPICS
Error or problem

Views

66

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Extend script crash when setting start/end on TrackItem

New Here ,
Aug 05, 2020

Copy link to clipboard

Copied

When executing this simple code in Premiere 2020 (14.3.1 Build 45) :

var clip = app.project.activeSequence.videoTracks[0].clips[0];
clip.end = 12;

The end time of the clip changes properly but I get the error "Cannot set property end".

I tested the exact same code in Premiere 2019 (13.1.5 Build 47) and it changes the clip end without throwing any error...
Any idea why it does that ?

Many thanks

TOPICS
Error or problem

Views

67

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 05, 2020 0

Have something to add?

Join the conversation