I'm trying to make a Selected Event longer. (I want to add about 20 frames in the beggining and in the end)
I guess this means adjusting the startingpoint and making the clip 40 frames longer and I have found the event I want inmy script (all selected) but Now I got confused about this TimeCode thing, how do you count with it and add things and so on... and what's the scale? If you print the Length of an Event as String you get the RulerFormat so that's dynamic. I want to add "Frames"!
---------------------------------------------
If CType(EventEnum.Current, SonicFoundry.Vegas.TrackEvent).Selected Then
'NEED HELP WITH CODE HERE
'CType(EventEnum.Current, SonicFoundry.Vegas.TrackEvent).Length?????
End If
---------------------------------------------
Any Help appriciated!
I guess this means adjusting the startingpoint and making the clip 40 frames longer and I have found the event I want inmy script (all selected) but Now I got confused about this TimeCode thing, how do you count with it and add things and so on... and what's the scale? If you print the Length of an Event as String you get the RulerFormat so that's dynamic. I want to add "Frames"!
---------------------------------------------
If CType(EventEnum.Current, SonicFoundry.Vegas.TrackEvent).Selected Then
'NEED HELP WITH CODE HERE
'CType(EventEnum.Current, SonicFoundry.Vegas.TrackEvent).Length?????
End If
---------------------------------------------
Any Help appriciated!