Hi I would like some help to create a script that I can assign to a shortcut (“I” and “O”) that will let me trim the selected clip IN/OUT to the current frame.
It will mimic the the same as when you drag the start of the clip toward the current frame mark.
It’s seems to be pretty easy to do the OUT:
frame = FBSystem().LocalTime.GetFrame()
for track in FBStory().RootFolder.Tracks:
for clip in track.Clips:
if clip.Selected == True:
clip.Stop = FBTime(0,0,0,frame,0)
but I can’t find a way to trim the start of the clip without moving my clip fowards in time
clip.Start = FBTime(0,0,0,frame,0)
doesn’t work as I expected ahah
I also tried playing with MarkIn and MarkOut but can’t get it to work.