I wasn’t sure exactly what I am after in terms of programming terminology, so excuse me if this has been discussed, I’m sure it probably has. I am working in Pro Tools audio editor. I am trying to create a macro to batch rename tracks. For example, I have one version working quite well, where it take a name and add a number and then increment that number with each track for the specified number of tracks.
What I am trying to do now is rename tracks where each one is a different channel of surround sound. So I want the suffix to be a channel label such as L, C, R, Ls, Rs, or LFE (left, center, right, left surround, right surround, LFE). They are always in that order but sometimes I only need it to label three or maybe five tracks (you could think of them as rows or cells in excel). So I am trying to create a macro that will prompt me for the number of channels and then it would label each one accordingly. So for 3 it would label 3 tracks “L”, “C”, and “R”. 1 track would only be “L.” 6 would six tracks and so on.
So basically I want to have a list of suffixes and then tell it to access and type out the requested number of entries in that list. I know enough programming to know that this is pretty basic stuff, but I’m trying to do this within KM and haven’t yet ventured into scripting. Is this possible? Thank you!