Create New Send on All Selected Tracks
Hello,
I'm new here, figuring out how to maximize this incredible tool to make my mixing workflow more efficient. I've got a few macros set up to create sends to different outboard FX or Aux channels but I can't figure out how to get those commands to apply to multiple tracks at once. I can do that using Track Presets, but unfortunately that method eliminates any other sends currently on the track rather than just adding a new send to the next available slot.
Thanks,
Dan
- DDaniel Knobler @Daniel_Knobler
Just clarify, I'm looking for a macro to add a send to a specific bus in a specific slot on either individual or multiple selected tracks. Can anyone point me in the right direction? Thanks!
Raphael Sepulveda @raphaelsepulveda2022-02-09 03:05:43.150Z
@Daniel_Knobler, yeah! You can use the Select Track Insert/Send macro for this. You can set it up like so:
This will create a send on slot 1 to Bus 1-2 on all selected tracks!
- DDaniel Knobler @Daniel_Knobler
Ah - thank you! There are several Insert/Send macros and that seems to be the only one with an option to select the specific path.
- DDaniel Knobler @Daniel_Knobler
I'm trying to create a template that will create a send in a specified slot to a specified bus and then create a new track from a track preset and put it in input. I have a macro that works, but I'd love to be able to turn it into a template where I can just add the bus name and preset name. Any advice on why this doesn't work:
const FXBus = event.props.fXBus; const FXPreset = event.props.fXPreset; sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({ insertOrSend: "Send", pluginNumber: 6, pluginPath: ["bus," FXBus], selectForAllSelectedTracks: true, }); //Calling command "New Track with Track Preset" from package "Pro Tools Utilities" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ck1w23x1o0000ef10gotnvo1z/cko4vno0300016y10lm312ray") sf.soundflow.runCommand({ commandId: 'user:ckyvvurvg000hsp10uv317wfv:ckftk383t00005t10fis94s21', props: { trackPresetPath: ["FX Returns MIXING," FXPreset], } }); sf.keyboard.press({ keys: "shift+i", });
Raphael Sepulveda @raphaelsepulveda2022-02-09 04:02:50.023Z
Yeah, for sure.
From what I can see here, the commas in these two lines need to go outside the quotation marks, like so:
pluginPath: ["bus", FXBus],
trackPresetPath: ["FX Returns MIXING", FXPreset],
Also make sure that when you run the script, the first track of the selected tracks is visible on screen, or else you'll also get an error saying that it couldn't open a popup menu. This usually happens when you're selecting a lot of tracks and you end up scrolling down.
- DDaniel Knobler @Daniel_Knobler
Amazing. It seems like this only works on the edit window. Is there an easy way to add something where it will jump to the edit window if I am currently on the mix window? Thank you so much for your help!
Raphael Sepulveda @raphaelsepulveda2022-02-09 04:37:42.270Z
Yeah, most actions on SoundFlow were designed for the Edit window, but this will flip back and forth if you're on the Mix window!
const FXBus = event.props.fXBus; const FXPreset = event.props.fXPreset; sf.ui.proTools.appActivateMainWindow(); // Make sure we're on the Edit window. let mixWinWasFocused; if (!sf.ui.proTools.getMenuItem("Window", "Edit").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["Window", "Edit"], }); // Wait for Edit Window while (!sf.ui.proTools.focusedWindow.title.invalidate().value.startsWith('Edit:')) sf.wait({ intervalMs: 50 }); mixWinWasFocused = true; } sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({ insertOrSend: "Send", pluginNumber: 6, pluginPath: ["bus", FXBus], selectForAllSelectedTracks: true, }); //Calling command "New Track with Track Preset" from package "Pro Tools Utilities" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ck1w23x1o0000ef10gotnvo1z/cko4vno0300016y10lm312ray") sf.soundflow.runCommand({ commandId: 'user:ckyvvurvg000hsp10uv317wfv:ckftk383t00005t10fis94s21', props: { trackPresetPath: ["FX Returns MIXING", FXPreset], } }); sf.keyboard.press({ keys: "shift+i", }); if (mixWinWasFocused) { sf.ui.proTools.menuClick({ menuPath: ["Window", "Mix"], }); // Wait for Mix Window while (!sf.ui.proTools.focusedWindow.title.invalidate().value.startsWith('Mix:')) sf.wait({ intervalMs: 50 }); }