Hi,
I am new to scripting in Vegas, but not new to programming.
When I program anything trying to alter a track in Vegas, I get exceptions. Like this:
MyVegas.Project.Tracks.Clear();
An Exception is thrown. Likewise with this:
MyVegas.Project.Tracks[0].Selected = true;
or
MyVegas.Project.Tracks[0].Solo = true;
Obviously I am missing something, but what?
The project has several tracks on the tim eline when I do this, Track[0] is a video track
ingvarai
I am new to scripting in Vegas, but not new to programming.
When I program anything trying to alter a track in Vegas, I get exceptions. Like this:
MyVegas.Project.Tracks.Clear();
An Exception is thrown. Likewise with this:
MyVegas.Project.Tracks[0].Selected = true;
or
MyVegas.Project.Tracks[0].Solo = true;
Obviously I am missing something, but what?
The project has several tracks on the tim eline when I do this, Track[0] is a video track
ingvarai