View Full Version : Cut at Project Markers

John Perkins
09-18-2005, 01: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) {
while (NewTime>0)
{ DeselectAllChildren()
SetPosition( NewTime , false )
"Timeline_Layout .*" //not on the window, but the layout

Randall Chesbro
09-18-2005, 08:25 PM
This is great! thanks. what do i do, copy the whole thing in the blue part to something like note pad and then put it in to place?

John Perkins
09-18-2005, 08:40 PM

Yes, just copy/paste the whole blue section to a file named whatever you want, but it must end in .ToasterScript instead of .txt

Then put it in C:\VT4\Skins\VideoEditor\MainWindow\Tabs\TimeLine\ User Scripts.

Don't forget to give me some feedback on how it works for you. I only spent a few minutes on it, so it may or may not be ready for primetime.