View Full Version : Track Name from File Name


Jordan Nash
November 16th, 2014, 04:17 PM
I'm using Vegas Pro 12, and I decided to play around with multitrack audio editing. I've downloaded a multitrack package (from Cambridge Music Technology (http://www.cambridge-mt.com/)) and I've brought it into Vegas as multiple tracks. So far, so good.

The problem is that I don't want to have to individually rename 78 tracks, and the file names are already reasonably intelligently named. Is there a way to tell Vegas to name the tracks from the file names? For example, if the file name is "DRUMS-TOM 1 B.wav", I want the track named "DRUMS-TOM 1 B".

Juris Lielpeteris
November 17th, 2014, 02:40 AM
Perhaps it would be enough to see the file name of the clip, not the track? Ctrl + Shift + I

Edward Troxel
November 18th, 2014, 10:39 AM
You would need a script to do this. A script can pull the name of the file on the track and then change the track name to that name.

Brian Berg
November 25th, 2014, 08:55 AM
It's only 78 tracks. How long could it take to rename them? 10 minutes?

Roberto Diaz
November 26th, 2014, 10:15 AM
I haven't written a Sony Vegas script in a while, so I thought I'd give this one a try. Wasn't really that hard and took me just over an hour because I needed a refresher on Vegas APIs and C#.

The script renames the tracks based on the first media file in each track and warns you if there is media from multiple files on a given track.

PM me if you want a copy of it.