If you’re using Vegas Pro, here’s a script (it works in Pro 10) that you can use to do this.
Copy it and save it as DeleteEmptySpaceBetweenEvents.js
/**
* Program:
* Description: This script will Delete Empty Space Between Events In Selected Tracks
* Author: Philip
*
* Date: August 31, 2003
**/
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);
}