Comments

craftech wrote on 4/25/2005, 5:30 AM
I think you are referring to the small gaps that can occur during editing which are loosely associated with the whole Quantize to Frames process that has needed reworking for many versions, and not the large spaces that occur from deleting (for those you can click/select them and manually drag them).

For the former, the answer is Yes. There is another one of those workarounds some of the users had to develop themselves because Sony didn't think improving it was worthwhile. There are scripts available to do it. John Meyer developed some along with a bunch of other useful scripts. They work sometimes and sometimes they don't, but John has done a lot to help make up for Sony's shortcomings and we are lucky to have him. I manually search for them and close them most of the time because they can cause all sorts of problems in the final render.

John
Rod Van Nortwick wrote on 4/25/2005, 6:51 AM
Actually I am talking about the large spaces, I know I can darg them but what I really want to do is right click and choose remove gaps, unfortunately that doesn't exist.
Rod
craftech wrote on 4/25/2005, 6:56 AM
Put the cursor at the end of the clip where you want to close the gap and press the "F" key. That will close the gap. You could enable automatic ripple, but I wouldn't recommend it.

John
Rod Van Nortwick wrote on 4/25/2005, 10:58 AM
Thanks, thats what I wanted.
Rod
johnmeyer wrote on 4/25/2005, 11:23 AM
Rod,

If you know how to use scripts, here is a very simple one that will do exactly what you want. Just click on the track header for the track on which you want to delete the gaps (Ctrl-click on additional tracks if you want to have the script work on more than one track at once). Run the script, and you will have no more gaps on those tracks.

John


P.S. Copy the following script to Notepad and save with the extension ".js" -- e.g., Del_Gaps.js.

Because of the way browsers format text, you may need to first paste this into Word and then search for manual line breaks ^l and replace with paragraphs marks ^p. Otherwise, in Notepad, the lines may all run together. Not my fault -- it's just the way Windows and Internet Explorer work.
====================
/** 
* Program:
* Description: This script will Delete Empty Space Between Events In Selected Tracks
* Original Author: Philip
*
* Modified by John Meyer, April 25, 2005
*
**/

import Sony.Vegas;
import System.Windows.Forms;
import Microsoft.Win32;

//time intervals for split events.

try
{
// step through all selected video events:
var FirstTrack : Track = Vegas.Project.Tracks.Item(0);

// step through all selected video events:
for (var track in Vegas.Project.Tracks) {
if( !track.Selected) continue;
var tracktime = new Timecode(0);
for (var evnt in track.Events) {
evnt.AdjustStartLength(tracktime,evnt.Length,true);
tracktime = tracktime + evnt.Length;
}
}
}

catch (errorMsg)
{
MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
MUTTLEY wrote on 4/25/2005, 11:34 AM

"Put the cursor at the end of the clip where you want to close the gap and press the "F" key."

This doesnt appear to do anything for me ...

- Ray

www.undergroundplanet.com
johnmeyer wrote on 4/25/2005, 11:49 AM
"Put the cursor at the end of the clip where you want to close the gap and press the "F" key."

The "F" key will post-edit ripple after you move an event. It will not, however, close a gap that is already there; only the gap created immediately after a move is closed, and all events to the right of the gap are also moved (rippled).
MUTTLEY wrote on 4/25/2005, 12:10 PM

Thanks for the clarification John, will have to fiddle a little. Nice tip.

- Ray

www.undergroundplanet.com

BrianStanding wrote on 4/25/2005, 2:16 PM
Keep in mind, that in the standard Vegas keyboard layout, "F" will ripple ONLY affected tracks. Use "Ctrl" "Shift" "F" to ripple all tracks, markers and regions.

This seems counterintuitive to me, so I've remapped my keyboard so that "F" ripples everything.