Select All Events After Cursor

video777 wrote on 2/22/2020, 6:01 PM

Hi. I just upgraded from Sony Vegas Pro 11 (just limping along) to the Magix Vegas Pro Suite 17. I had a script called "SelectEventsAfterCursor.cs" that did this exact thing. Is there anything like it for VPS 17? Thank you.

Here are the contents of the script with the original author's name:/**
 * This script will select all events after the cursor
 * 
 * Written By: Edward Troxel
 * Modified: 10-23-2007
 **/

using System;
using Sony.Vegas;
public class EntryPoint
{
    Vegas myVegas;
    
    public void FromVegas(Vegas vegas)
    {
        myVegas = vegas;

    foreach (Track track in myVegas.Project.Tracks)
    {
        foreach(TrackEvent evnt in track.Events)
        {
            evnt.Selected = false;
            if (evnt.Start >= myVegas.Cursor)
            {
                evnt.Selected = true;
            }
        }
    }

    }

    
}

Comments

fr0sty wrote on 2/22/2020, 6:55 PM

See if this helps: https://www.focusonvegas.com/somaconverter-sony-magix-vegas-pro-script-converter/

video777 wrote on 2/22/2020, 7:21 PM

See if this helps: https://www.focusonvegas.com/somaconverter-sony-magix-vegas-pro-script-converter/

Thank you so much. That worked perfectly. I plan on giving a donation to this person for creating such a helpful tool. I rely heavily on this feature in my editing. I appreciate the fast response.

JN- wrote on 2/22/2020, 7:23 PM

@video777 That was added from VP16 onwards ...

It's available under the Edit tab, or right click any event ...

"[Moderator Addition: A "Select All After Cursor" command has been introduced, allowing the user to select all events under and after the current cursor position, on either all tracks or selected tracks.]"

Last changed by JN- on 2/22/2020, 7:27 PM, changed a total of 1 times.

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop ... (Acer Predator G9-793-77AC)

CPU .. i7-6700HQ Skylake-H

Memory ..16GB DDR4 

Graphics card .. Nvidia GTX 1070

Graphics driver .. latest studio

wwaag wrote on 2/22/2020, 7:40 PM

There are also three Happy Otter free scripts available that select: (1) events after the cursor; (2) events under the cursor; and (3) events before the cursor. There is also a text script conversion tool between Sony and Vegas on the same page. They can all be found at https://tools4vegas.com/library/.

Forgot to add there is also a script in the package that select all events that contain markers.

video777 wrote on 2/22/2020, 9:45 PM

@video777 That was added from VP16 onwards ...

It's available under the Edit tab, or right click any event ...

"[Moderator Addition: A "Select All After Cursor" command has been introduced, allowing the user to select all events under and after the current cursor position, on either all tracks or selected tracks.]"

Thanks. I see it now. It's not as efficient as pressing a hot key combination. I select all tracks to the end a lot. I appreciate the tip.

video777 wrote on 2/22/2020, 9:46 PM

There are also three Happy Otter free scripts available that select: (1) events after the cursor; (2) events under the cursor; and (3) events before the cursor. There is also a text script conversion tool between Sony and Vegas on the same page. They can all be found at https://tools4vegas.com/library/.

Forgot to add there is also a script in the package that select all events that contain markers.

Thank you. What a cool resource.