John Perkins
09-18-2005, 03:59 PM
There was a feature request in the VTEdit forum that I thought people here might be interested in.
Instead of cutting clips to clip markers, he wanted to cut ALL clips to project markers.
It uses a couple of either undocumented or not very well documented commands.
Put it in C:\VT4\Skins\VideoEditor\MainWindow\Tabs\TimeLine\ User Scripts and trigger it by clicking in the timeline window and pressing Crtl+Shift+R.
// Razor timeline at all project markers
// John Perkins
// Biway Media
// Houston Texas
// 713-271-4036
CreateShortCut("Ctrl Shift R", code(
SetPosition(GetProjectStartTime( ), false)
if (GetActivePaneType()==1) {
NewTime=GetNextMarkTime()
while (NewTime>0)
{ DeselectAllChildren()
SetPosition( NewTime , false )
RazorEditLine()
NewTime=GetNextMarkTime()
}
DeselectAllChildren()
}
),
OrderedFocus,
1000,
"Timeline_Layout .*" //not on the window, but the layout
)
Instead of cutting clips to clip markers, he wanted to cut ALL clips to project markers.
It uses a couple of either undocumented or not very well documented commands.
Put it in C:\VT4\Skins\VideoEditor\MainWindow\Tabs\TimeLine\ User Scripts and trigger it by clicking in the timeline window and pressing Crtl+Shift+R.
// Razor timeline at all project markers
// John Perkins
// Biway Media
// Houston Texas
// 713-271-4036
CreateShortCut("Ctrl Shift R", code(
SetPosition(GetProjectStartTime( ), false)
if (GetActivePaneType()==1) {
NewTime=GetNextMarkTime()
while (NewTime>0)
{ DeselectAllChildren()
SetPosition( NewTime , false )
RazorEditLine()
NewTime=GetNextMarkTime()
}
DeselectAllChildren()
}
),
OrderedFocus,
1000,
"Timeline_Layout .*" //not on the window, but the layout
)