Can anyone tell me if there is a way to remove multiple transitions from a slide show without having to do them one at a time? I know how to add transitions to multiple slides, but can't seem to remove them without doing it one by one.
See if the following script works for you (thanks to Edward Troxel).
Save it as RemoveEffectFromAllMedia.js.
Mike
/**
* This script will remove all effects from selected events
*
* To use, simply select the events on which effects are to be eliminated.
*
* Written By: Edward Troxel
* www.jetdv.com/tts
* Modified: 04-27-2005
**/
var trackEnum = new Enumerator(Vegas.Project.Tracks);
while (!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());
//Go through the list of Events
var eventEnum = new Enumerator(track.Events);
while (!eventEnum.atEnd()) {
var evnt : TrackEvent = TrackEvent(eventEnum.item());
if (evnt.Selected & evnt.IsVideo()) {
var videoEvent = VideoEvent(evnt);
var i;
for (i=videoEvent.Effects.Count - 1; i >= 0; i--) {
var effect = videoEvent.Effects[i];
videoEvent.Effects.Remove(effect);
}
}
Oops, sorry about that.
My brain is not firing on all cylinders right now because of a very intense project at work.
I'll leave the ther one in case someone has a use for it.
See if this one works (once again from Edward Troxel).
Copy and save this one as RemoveTransitions.js.
Mike
/**
* This script will remove the transition for all selected events.
*
* Written By: Edward Troxel
* Copyright 2006 - JETDV Scripts
* Modified: 01-14-2006
**/
try {
//Go through the list of Tracks
var trackEnum = new Enumerator(Vegas.Project.Tracks);
while (!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());
//Go through the list of Events
var eventEnum = new Enumerator(track.Events);
while (!eventEnum.atEnd()) {
var evnt : TrackEvent = TrackEvent(eventEnum.item());
if (evnt.Selected)
{
evnt.FadeIn.RemoveTransition();
}
eventEnum.moveNext();
}
trackEnum.moveNext();
}