Copy link to clipboard
Copied
I was working on a premiere pro script and I am facing a problem..
There is no API for determining when "danger bars" (diagonal lines) appear.
Before you replace old media with new media in existing clips, your script needs to make sure there IS actual media, in the corresponding source media time range.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Anna Beans thanks for replay but Nope that not my question. Is there way in extended script to known from these diagonal lines on clip. so i can automate to match duration of the orignal clip.
1) I have no promblem with diagonal lines on clip, i want check if the clip has diagonal lines after replacing the clip. if so how to detect in premiere pro extended script.
Copy link to clipboard
Copied
I know that is not your question but doc explains the issue.
Copy link to clipboard
Copied
@Ann Bens yes. Why i getting these diagonal lines on clips, i understand(as on doc third point.)
i am using script that is changeMediaPath
This will not change footage or media file name but just replace that contains of it. Now
I want to known which clip has these diagonal lines. what is the code for that.
How to known this from(script) which time to which time there is diagonal lines on clip in extended script. do have any api to detect that.
that is length of clip or length of diagonal lines on clip. whats is code. Thanks in advnace.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
There is no API for determining when "danger bars" (diagonal lines) appear.
Before you replace old media with new media in existing clips, your script needs to make sure there IS actual media, in the corresponding source media time range.