More Scripting needs

jetdv wrote on 7/25/2003, 8:28 AM
How can you set the Track Parent/Child relationship between tracks? I need to "push the up arrow" to the left of the track (i.e. track 2 - set the flag - it's now a child to track 1). Can this currently be done?

That, along with track motion control, would be very helpful.

Comments

SonyPJM wrote on 7/25/2003, 10:22 AM
The track compositing parent/child stuff is not currently scriptable but I've added it to my task list. Track motion is in flux right now but it is certainly on my task list as well.
jetdv wrote on 7/26/2003, 9:34 PM
OK, another one. How about changing the opacity level on a video event? (i.e. move the mouse to the top of the video event, click, and drag downward).
SonyPJM wrote on 7/28/2003, 8:37 AM
You can just set the Gain property of the video event's FadeIn:

Vegas.Project.Tracks[0].Events[0].FadeIn.Gain = 0.5;

You might also be able to do the same thing in your script with a video track composite level envelope... EnvelopeType.Composite.