Copy link to clipboard
Copied
When creating markers by ExtendScript, marker.end appears to be broken. It cannot be set.
marker.start however, seems to be fine. So atleast the script is working half the time.
So, what happened?
I'm not sure, but the API works fine.
https://github.com/Adobe-CEP/Samples/blob/ff7e2afab20eca144dcad0bb8d893d8b275ad38e/PProPanel/jsx/PPRO/Premiere.jsx#L322
Copy link to clipboard
Copied
I'm not sure, but the API works fine.
https://github.com/Adobe-CEP/Samples/blob/ff7e2afab20eca144dcad0bb8d893d8b275ad38e/PProPanel/jsx/PPR...
Copy link to clipboard
Copied
hmm, could I be doing anything wrong with my code? This is what I'm using (copied, pasted and adapted from the example you linked):
Copy link to clipboard
Copied
sorry, this is the code I'm currently using (in the post above I had inserted a typo not present in my actual code)
var tempTime = new Time();
Copy link to clipboard
Copied
Does this work?
newCommentMarker.end = currentClip.end;
Copy link to clipboard
Copied
Thanks Bruce. Tried that, and a Run Script Error results: "Bad argument end".
Comment out your suggestion out, and it runs:
Copy link to clipboard
Copied
Bizarre, as they're both Times...