Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Can someone hlp me with this script?

  • Can someone hlp me with this script?

    Posted by Vida Adrian-olimpiu on December 8, 2018 at 9:35 pm

    So I have this script called “RemoveNotInactiveTakes” but insead of removing the not active takes, In multicam mode I want the script to remove the “no camera” (I’ll put a picture below for better understanding & the script)

    Link for picture:https://drive.google.com/file/d/1e91SR6yASe66ooTOQfYYKNX1w8URK2Q3/view?usp=sharing

    Here is the script:

    **/

    import ScriptPortal.Vegas;
    import System.Windows.Forms;
    import Microsoft.Win32;

    try
    {
    // step through all video events:
    for (var track in Vegas.Project.Tracks) {
    for (var evnt in track.Events) {
    for (var take in evnt.Takes){
    if (!take.IsActive)evnt.Takes.Remove(take);
    }

    }
    }

    }
    catch (errorMsg)
    {
    MessageBox.Show(errorMsg, “Error”, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
    }

    Vida Adrian-olimpiu replied 7 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy