Copy To Send to selected tracks (to Send F, PRE&FMP in)
Hello everyone!
What I'm trying now is "execute the Copy To Send command on the send F of the selected track and turn on the PRE and FMP of the send F of the selected track." This is what I often do in my parallel processing workflow.
I made the following script as a foundation, but there are some things that I haven't done.
sf.ui.proTools.appActivateMainWindow();
sf.ui.proTools.selectedTrack.trackSendToggleShow({
sendNumber: 6,
});
sf.ui.proTools.menuClick({
menuPath: ["Edit", "Automation", "Copy to Send..."],
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.children.whoseRole.is("AXStaticText").whoseValue.is("Copy:").first.elementWaitFor();
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.checkBoxes.whoseTitle.is("Current Value").first.checkboxSet({
targetValue: "Enable",
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.checkBoxes.whoseTitle.is("Volume").first.checkboxSet({
targetValue: "Enable",
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.checkBoxes.whoseTitle.is("Pan").first.checkboxSet({
targetValue: "Enable",
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.checkBoxes.whoseTitle.is("Mute").first.checkboxSet({
targetValue: "Disable",
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.checkBoxes.whoseTitle.is("LFE").first.checkboxSet({
targetValue: "Disable",
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.popupButtons.first.popupMenuSelect({
menuPath: ["Send F"],
});
sf.ui.proTools.windows.whoseTitle.is("Copy To Send").first.buttons.whoseTitle.is("OK").first.elementClick();
sf.ui.proTools.mainTrackOutputWindow.buttons.whoseTitle.is('Pre/Post fader').first.mouseClickElement({
isShift: true,
isOption: true,
});
sf.ui.proTools.mainTrackOutputWindow.buttons.whoseTitle.is('Link Panner to Main').first.mouseClickElement({
isShift: true,
isOption: true,
});
-I want to open the Track Output Window of Send F of the (first) selected track instead of toggle. I want to move to Send F of the selected track even if another Track Output Window is open.
-I want to turn on both Pre and FMP instead of toggle.
-The code I'm trying to do now is to open the Send F Track Output Window and press Shift + Option + click to enter "PRE" and "FMP", but if there's a better code (faster, error-free) I want to do that.
Perhaps I could do it if I understood the if syntax better. ..
I would be grateful if you could help me!