Comments

JohanAlthoff wrote on 6/30/2010, 8:13 AM

using Sony.Vegas;

public class EntryPoint
{
public void FromVegas(Vegas app)
{
foreach (Sony.Vegas.Track currentTrack in app.Project.Tracks)
{
System.Collections.Generic.List<Sony.Vegas.TrackEvent> killSheet = new System.Collections.Generic.List<TrackEvent>();
foreach (Sony.Vegas.TrackEvent currentEvent in currentTrack.Events)
{
if (currentEvent.Mute == true)
killSheet.Add(currentEvent);
}
foreach (Sony.Vegas.TrackEvent victim in killSheet)
{
currentTrack.Events.Remove(victim); // BLAM
}
}
}
}
gwailo wrote on 6/30/2010, 8:54 AM
Blam

Thanks!

Both JohanAlthoff and Vegas are amazing.