@jetdv Please, if possible, how i add the creation of a fade in trasition at cursor position in the code bellow?
using System; using ScriptPortal.Vegas; public class EntryPoint { Vegas myVegas; public void FromVegas(Vegas vegas) { myVegas = vegas; foreach (Track track in myVegas.Project.Tracks) { foreach (TrackEvent trackEvent in track.Events) { if (trackEvent.Selected) { trackEvent.FadeIn.Length = new Timecode(1000); } } } } }
Is this line i need to modify?
if (trackEvent.Selected) { trackEvent.FadeIn.Length = new Timecode(1000); }