Aux Track is mono
Hi I tried this package but when I try to route a stereo track to a stereo reverb the aux track created by this command is always mono ,can you help me with a solution
- SSoundFlow Bot @soundflowbot
Thanks for posting a question or an issue related to the 'Create New Aux Return And Route' package.
This package is made by @Mark_Abrams. We're auto-tagging them here so that they will hopefully be able to help you.Please note, that the best way to get help with a script, macro or other content installed from the Store is to select the script you installed, then click the red Need help button, and then click "Get help with this script or macro".
By using this workflow, the developer of the package will get access to more information so they'll be able to help you quicker.
You can read more about how to best get help in this article: bit.ly/sfscripthelp - JIn reply toRk_Sundar⬆:Jordan Oorebeek @Jordan_Oorebeek
Hey @Mark_Abrams
Love this script. I wanted to second this question above about if we can get an option in the menu of the script to make it a stereo or mono aux please? :)
It would be amazing if it could!
Thanks so much! - DIn reply toRk_Sundar⬆:Daniel Wander @Daniel_Wander
I had the exact same request, and I may have found a solution. I changed a few lines in the "Create New Aux With Plugin And Route" source script, which I will share below. Remember to rename the "Plugin Name" to the exact name in Pro Tools, including "(stereo)".
I know nothing about coding, so there might be some stupid mistakes I have missed. And I obviously take no credit for the code, I literally just changed two or three lines to make it work for me and copied it here. Hope it helps until Mark Abrams replies :)- DDaniel Wander @Daniel_Wander
// New Aux From Send sf.ui.proTools.appActivate(); //Declare Event Props from preset const { pluginName, pluginCategory, routeToOutput, setVolumeZero, preserveWindowState, toggleSoloSafe } = event.props // Make sure we're on the Edit window. if (!sf.ui.proTools.getMenuItem("Window", "Edit").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["Window", "Edit"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; //STORE CURRENT STATE TRACK LIST if (!sf.ui.proTools.getMenuItem("View", "Other Displays", "Track List").isMenuChecked) { var trackListShowStatus = false; } else { var trackListShowStatus = true; } //STORE CURRENT STATE INSERTS A-E //var insertsAeShowStatus = sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Inserts A-E").isMenuChecked if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Inserts A-E").isMenuChecked) { var insertsAeShowStatus = false; } else { var insertsAeShowStatus = true; } if (preserveWindowState === true) { //STORE CURRENT STATE INSERTS F-J if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Inserts F-J").isMenuChecked) { var insertsFjShowStatus = false; } else { var insertsFjShowStatus = true; } //STORE CURRENT STATE SENDS A-E if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Sends A-E").isMenuChecked) { var sendsAeShowStatus = false; } else { var sendsAeShowStatus = true; } //STORE CURRENT STATE SENDS F-J if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Sends F-J").isMenuChecked) { var sendsFjShowStatus = false; } else { var sendsFjShowStatus = true; } //STORE CURRENT STATE I/O if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "I/O").isMenuChecked) { var ioShowStatus = false; } else { var ioShowStatus = true; } }; /////////OPEN INSERTS, SENDS, AND IO/////////////// /////INSERTS // Make Sure Inserts A-E Are Open. if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Inserts A-E").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Inserts A-E"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; // Make Sure Inserts F-J Are Open. if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Inserts F-J").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Inserts F-J"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; /////SENDS // Make Sure Sends A-E Are Open. if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Sends A-E").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Sends A-E"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; // Make Sure Sends F-J Are Open. if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "Sends F-J").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Sends F-J"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; //// IO // Open I/O. if (!sf.ui.proTools.getMenuItem("View", "Edit Window Views", "I/O").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "I/O"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; // Get first free send function getFirstFreeSendIndex() { let btns = sf.ui.proTools.selectedTrack.invalidate().sendButtons; for (let i = 0; i < 10; i++) if (btns[i].value.invalidate().value === "unassigned") return i; return -1; }; //Get first available slot function getFirstFreeInsertIndex() { var btns = sf.ui.proTools.selectedTrack.invalidate().insertButtons; for (var i = 0; i < 10; i++) if (btns[i].value.invalidate().value === "unassigned") return i; return -1; } //Main Script function main() { //Close track output window if (!sf.ui.proTools.mainTrackOutputWindow.isFocused) { } else { sf.ui.proTools.mainTrackOutputWindow.windowClose(); }; // Make sure the track list is open. if (!sf.ui.proTools.getMenuItem("View", "Other Displays", "Track List").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["View", "Other Displays", "Track List"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; //Get Selected Output Path - Thank you, Chris Shaw and Kitch Membery! var outputPath = sf.ui.proTools.selectedTrack.outputPathButton.value.invalidate().value // Make sure we're on the Edit window. if (!sf.ui.proTools.getMenuItem("Window", "Edit").isMenuChecked) { sf.ui.proTools.menuClick({ menuPath: ["Window", "Edit"], }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); }; // Get first free send let sends = getFirstFreeSendIndex() < 5 ? "Sends A-E" : "Sends F-J"; const sendLetter = 'ABCDEFGHIJ'; const popupMenu = sf.ui.proTools.selectedTrack.groups.whoseTitle.is(sends).first.buttons. whoseTitle.is("Send selector " + sendLetter[getFirstFreeSendIndex()]).first.popupMenuOpenFromElement().popupMenu; // New Aux Track From Send END popupMenu.menuClickPopupMenu({ menuPath: ['new track...'], }); sf.ui.proTools.windows.whoseTitle.is("New Track").first.popupButtons.first.popupMenuSelect({ menuPath: ["Aux Input"], }); sf.ui.proTools.windows.whoseTitle.is("New Track").first.popupButtons.allItems[2].popupMenuSelect({ menuPath: ["Stereo"], }); sf.ui.proTools.windows.whoseTitle.is("New Track").first.textFields.whoseTitle.is("Track name").first.elementClick(); sf.keyboard.press({ keys: "cmd+a, backspace", }); //Ask User to name track var text = prompt("Name Your New Track"); sf.keyboard.type({ text }); sf.ui.proTools.windows.whoseTitle.is("New Track").first.buttons.whoseTitle.is("Create").first.elementClick(); //Select the new track sf.ui.proTools.mainWindow.invalidate(); sf.ui.proTools.trackSelectByName({ names: [text], deselectOthers: true, }); //Close track output window if (!sf.ui.proTools.mainTrackOutputWindow.isFocused) { sf.ui.proTools.mainTrackOutputWindow.windowClose(); }; // Set Volume To Zero if (setVolumeZero == true) { sf.ui.proTools.appActivate(); // sf.ui.proTools.viewCloseFocusedFloatingWindow(); sf.ui.proTools.selectedTrack.outputWindowButton.elementClick(); sf.ui.proTools.mainTrackOutputWindow.textFields.whoseTitle.is("Volume Numerical").first.elementClick(); sf.keyboard.type({ text: "-500", }); sf.keyboard.press({ keys: "return", }); sf.ui.proTools.viewCloseFocusedFloatingWindow(); }; //Insert specified plugin sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({ insertOrSend: 'Insert', pluginNumber: getFirstFreeInsertIndex() + 1, pluginPath: ["multichannel plug-in", pluginCategory, pluginName], selectForAllSelectedTracks: true, }); if (routeToOutput == true) { const popupMenu = sf.ui.proTools.selectedTrack.trackOutputOpenMenu().popupMenu; popupMenu.menuClickPopupMenu({ menuPath: ["search..."], }); sf.keyboard.press({ keys: "backspace", }); //Type Name of the bus sf.keyboard.type({ text: outputPath, }); //Hit Enter sf.keyboard.press({ keys: "return", }); }; //Toggle Solo Safe if (toggleSoloSafe === true) { // Deselect all tracks sf.ui.proTools.trackDeselectAll() sf.ui.proTools.trackSelectByName({ names: [text], deselectOthers: true, }); // Scroll to avoid error sf.ui.proTools.selectedTrack.trackScrollToView(); // Solo safe sf.ui.proTools.selectedTrack.soloButton.mouseClickElement({ isCommand: true }) } if (preserveWindowState === true) { /////////RESTORE PREVIOUS SETTINGS/////////////// //RESTORE INSERTS A-E if (insertsAeShowStatus === true) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Inserts A-E"], targetValue: "Enable", }); } else { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Inserts A-E"], targetValue: "Disable", }); } //RESTORE INSERTS F-J if (insertsFjShowStatus === true) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Inserts F-J"], targetValue: "Enable", }); } else { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Inserts F-J"], targetValue: "Disable", }); } //RESTORE SENDS A-E if (sendsAeShowStatus === true) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Sends A-E"], targetValue: "Enable", }); } else { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Sends A-E"], targetValue: "Disable", }); } //RESTORE SENDS F-J if (sendsFjShowStatus === true) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Sends F-J"], targetValue: "Enable", }); } else { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "Sends F-J"], targetValue: "Disable", }); } //RESTORE I/O if (ioShowStatus === true) { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "I/O"], targetValue: "Enable", }); } else { sf.ui.proTools.menuClick({ menuPath: ["View", "Edit Window Views", "I/O"], targetValue: "Disable", }); } //RESTORE TRACK LIST if (trackListShowStatus === true) { sf.ui.proTools.menuClick({ menuPath: ["View", "Other Displays", "Track List"], targetValue: "Enable", }); } else { sf.ui.proTools.menuClick({ menuPath: ["View", "Other Displays", "Track List"], targetValue: "Disable", }); } }; log(`Create New Aux & Route`, `Finished`); } main();