DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   What Happens in Vegas... (https://www.dvinfo.net/forum/what-happens-vegas/)
-   -   custom script (https://www.dvinfo.net/forum/what-happens-vegas/119277-custom-script.html)

Marius Boruch April 13th, 2008 11:27 AM

custom script
how to write a script for vegas so it could automate apply transition/cross effect/mycustomeffect; any good script web site? thanks in advace

Edward Troxel April 13th, 2008 12:12 PM

There's lot's of good scripting information on my site

Here's some of the basics (MyTrans is a string with the name of the transition, MyPreset is a string with the name of the preset):

PlugInNode fx = Vegas.Transitions;
PlugInNode plugIn = fx.GetChildByName(MyTrans);

Effect effect = new Effect(PlugIn);
evnt.FadeIn.Transition = effect;
effect.Preset = MyPreset;

All times are GMT -6. The time now is 07:34 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2020 The Digital Video Information Network