Comments

xberk wrote on 4/6/2010, 8:18 PM
This is an old old script from Ed Troxel I found posted at
Creative Cow Vegas Scripts posted in 2003

Don't have a clue if it would still work in current versions of Vegas but no doubt
it can be reworked to the current API.


/**
* 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: 07-23-2003
**/

import System;
import System.Collections;
import System.Text;
import System.IO;
import System.Drawing;
import System.Windows.Forms;
import SonicFoundry.Vegas;

try {

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);
}
}

eventEnum.moveNext();
}

trackEnum.moveNext();
}


} catch (e) {
MessageBox.Show(e);
}


Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

Grazie wrote on 4/6/2010, 11:53 PM
xberk, that's the one that has a reference to SonicFoundry, it would need to be updated to SONY. However, Edward Troxel had done that too, and made a re-reference to a FX Removal script http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=21&MessageID=433266here[/link] which HAS the correct SONY reference. The edit revision modified - 04-27-2005 - and that's like after the reference to the COW option. This script requires you select all the Events you want to have the FXs removed from. Look a little further and you will find another reference by John Meyer. Interesting update.

Speaking of which, there is http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=21&MessageID=478578John Meyer's FX audit script[/link] I can't make it work - you might be able to?

Grazie