My first small project in X#. A dll for Sony Vegas 14 (will not work with previous versions because the Vegas assembly-name has been changed !)
I edit all my movies in Sony Vegas. Although one can calculate the duration of each element of a movie, it is a lot easier to let this extension do that.
If you select one or more elements of the timeline the extension gives a precise duration of a combination of shots (and keeps track of all the fade-overs, so you know the total net length of the selected shots).
it tooks some time before I realised that list:item was zero based...
It also handles some interrupts. Still a lot of work to do, checking deleted trackevents... but it gives an idea. Thanks to the people here who solved my initial problems !!
The little result window ("Time extension") is where it is shown, the window is dockable in the Vegas interface. I have renamed the JPVegasEx.viaef to JPVegasEx.txt, to be able to upload.