Le 26 oct. 2014 à 12:29, Marnaud a écrit:
> In case you wonder whether the function may get bad results, here's the code
> I tried (so you may get reassured about your plugin if you find that my code
> is just wrong ;-) ):
> dim c As QTChapterTrackMBS
> dim e As EditableMovie
> dim f As FolderItem
>
> f=GetOpenFolderItem("QuickTime Movies")
> if f<>nil then
> e=f.OpenEditableMovie
> if e<>nil then
> c=e.ChapterTrackMBS
> if c<>nil then
> for i as Integer=1 to c.ChapterCount
> MsgBox c.ChapterText(i)
> next
> end if
> end if
> end if
Sorry, this is not the piece of code that demonstrates the problem. I was
passing c.ChapterText(c.GetChapterTime(i)) for the MsgBox (since the
documentation reads “ChapterText(Time as integer) as string). But it looks like
it's not a time but an index.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info