ExtendScript : Error Code# 78: Cannot set property end @ file

Community Beginner ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

            outro = root.children[j].children[0];
            tracks[1].insertClip(outro, videoClipLength);
            outroLength = tracks[1].clips[1].end
            tracks[0].clips[1].end = outroLength

i have this peace of code which is supposed to change the length of a script, it was working about 3 months ago and now i'm getting the error : Error Code# 78: Cannot set property end @ file

Can someone help me, thanks for answers

TOPICS
Error or problem , SDK

Views

225

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
community guidelines

correct answers 1 Correct answer

Community Beginner , May 17, 2022 May 17, 2022
Well, i'm so sorry, i was too concentrate on my code and i didnt even verified my premiere version, now that i updated, it's working, thanks for your time

Likes

Translate

Translate
Adobe Employee ,
May 13, 2022 May 13, 2022

Copy link to clipboard

Copied

What's changed on your system, since this worked (3 months ago)?

 

Can you provide an example .prproj, your ExtendScript, and step-by-step instructions on how to replicate the issue? In what version of PPro should we see your ExtendScript behaving correctly?

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
community guidelines
Community Beginner ,
May 14, 2022 May 14, 2022

Copy link to clipboard

Copied

I dont know what changed , i've no idea, my version of premiere pro is the same, i ran the script with the extension jsx launcher and with vs code and nothing happens

 

The issue happens when i launch the script and when i'm trying to set "tracks[0].clips[1].end" to  "outroLength"

the modification appears but then the script crashes

 

i've tried other things like :

            outroLength = tracks[1].clips[1].end.tick
            tracks[0].clips[1].end.tick = outroLength

or with seconds instead of ticks, and in those case the script keeps running but modificationfs don't appear 

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
community guidelines
Adobe Employee ,
May 16, 2022 May 16, 2022

Copy link to clipboard

Copied

I have the same questions as before:

Can you provide an example .prproj, your ExtendScript, and step-by-step instructions on how to replicate the issue? In what version of PPro should we see your ExtendScript behaving correctly?

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
community guidelines
Community Beginner ,
May 17, 2022 May 17, 2022

Copy link to clipboard

Copied

LATEST

Well, i'm so sorry, i was too concentrate on my code and i didnt even verified my premiere version, now that i updated, it's working, thanks for your time

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
community guidelines