Script to hide (or minimise) all video tracks

David Johns wrote on 8/16/2019, 10:21 AM

Does anyone know of a script which would hide all video tracks on the timeline, leaving only the audio ones visible (failing hiding then at least minimising all the video tracks); and then another to restore them to their prior visibility?

When mixing the audio on videos, I'd find that a very handy tool for decluttering the screen as I work.

I'd write one myself but javascript and C baffle me, I used to write in 8031 assembly code and that was 25+ years ago.

While we're at it, a script to do the same with the video tracks could be handy too.

Cheers

David

Comments

zdogg wrote on 8/20/2019, 7:59 PM

I believe you could group those tracks, and then simply hide that group.

David Johns wrote on 8/21/2019, 11:03 AM

Thank you. Unfortunately you can only group adjacent tracks and my audio tracks aren't all necessarily adjacent to each other; as you know Vegas defaults to dropping Video and Audio tracks next to each other so you end up with Video - Audio - Video - Audio etc.

Yes, I could rearrange them first but that moves my audio tracks away from the video tracks they represent so it's not a solution that would work for me. Ta though.

Former user wrote on 8/21/2019, 12:40 PM

You can group any tracks by holding ctrl down, select them and group.

wwaag wrote on 8/21/2019, 1:20 PM

@David Johns

AFAIK, you're completely out-of-luck for a script since access to such controls is not available in the Scripting API.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

David Johns wrote on 8/23/2019, 5:23 AM

@David Johns

AFAIK, you're completely out-of-luck for a script since access to such controls is not available in the Scripting API.

Damn. Thanks.

David Johns wrote on 8/23/2019, 5:25 AM

You can group any tracks by holding ctrl down, select them and group.

Nope, unadjacent audio tracks cannot be grouped, the option is greyed out.