delelte all mutes clips on time line msa.binshihab wrote on 1/22/2019, 7:28 AM needs to script vegas pro 16 to delelte all mutes clips on time line can help me Back to post
Comments altarvic wrote on 1/22/2019, 9:32 AM https://www.vegascreativesoftware.info/us/forum/script-for-deleting-all-muted-clips-in-timeline--79073/ msa.binshihab wrote on 1/22/2019, 10:25 AM https://www.vegascreativesoftware.info/us/forum/script-for-deleting-all-muted-clips-in-timeline--79073/ this script not work on vegas pro 16 ... am trying it Marco. wrote on 1/22/2019, 12:57 PM Replace "Sony.Vegas" with "ScriptPortal.Vegas" in this script. Former user wrote on 1/22/2019, 3:44 PM For MAGIX Vegas Pro 14 or newer, save the script bellow as extension (.cs) using ScriptPortal.Vegas; public class EntryPoint { public void FromVegas(Vegas app) { foreach (ScriptPortal.Vegas.Track currentTrack in app.Project.Tracks) { System.Collections.Generic.List<ScriptPortal.Vegas.TrackEvent> killSheet = new System.Collections.Generic.List<TrackEvent>(); foreach (ScriptPortal.Vegas.TrackEvent currentEvent in currentTrack.Events) { if (currentEvent.Mute == true) killSheet.Add(currentEvent); } foreach (ScriptPortal.Vegas.TrackEvent victim in killSheet) { currentTrack.Events.Remove(victim); // BLAM } } } } Former user wrote on 1/22/2019, 3:46 PM For SONY Vegas Pro, save the script bellow as extension (.cs) 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 } } } } Former user wrote on 1/22/2019, 3:51 PM This script would be better if it were configured to delete the muted clips within a space selected by the user. msa.binshihab wrote on 1/22/2019, 11:00 PM For MAGIX Vegas Pro 14 or newer, save the script bellow as extension (.cs) using ScriptPortal.Vegas; public class EntryPoint { public void FromVegas(Vegas app) { foreach (ScriptPortal.Vegas.Track currentTrack in app.Project.Tracks) { System.Collections.Generic.List<ScriptPortal.Vegas.TrackEvent> killSheet = new System.Collections.Generic.List<TrackEvent>(); foreach (ScriptPortal.Vegas.TrackEvent currentEvent in currentTrack.Events) { if (currentEvent.Mute == true) killSheet.Add(currentEvent); } foreach (ScriptPortal.Vegas.TrackEvent victim in killSheet) { currentTrack.Events.Remove(victim); // BLAM } } } } thank you ... thats worked 1