Coalesce VCA Automation
Title
Coalesce VCA Automation
What do you expect to happen when you run the script/macro?
I need help coalescing the automation written to a VCA so I can have soundflow make an alternate bounce with the VCA up 1dB
Are you seeing an error?
What happens when you run this script?
Nothing happens when I run this script currently.
How were you running this script?
I clicked the "Run Script" or "Run Macro" button in SoundFlow
How important is this issue to you?
5
Details
{ "inputExpected": "I need help coalescing the automation written to a VCA so I can have soundflow make an alternate bounce with the VCA up 1dB", "inputIsError": false, "inputWhatHappens": "Nothing happens when I run this script currently.", "inputHowRun": { "key": "-MpfwYA4I6GGlXgvp5j1", "title": "I clicked the \"Run Script\" or \"Run Macro\" button in SoundFlow" }, "inputImportance": 5, "inputTitle": "Coalesce VCA Automation" }
Source
// Adjust Ld V
// Find ∆ Ld V track
sf.ui.proTools.trackSelectByName({
names: ["∆ Ld V"],
});
// Wait
sf.wait({
intervalMs: 1500,
});
sf.ui.proTools.focusedWindow.menuItems.whoseTitle.is("Coalesce VCA Controller Automation").first
sf.ui.proTools.windows.whoseTitle.contains('Edit:').first.elementWaitFor();
sf.ui.proTools.selectedTrack.titleButton.popupMenuSelect({
isRightClick: true,
menuPath: [ Coalesce VCA Controller Automation ]
Links
User UID: 346lyVMFSYTnmieq45YUZnVV0by2
Feedback Key: sffeedback:346lyVMFSYTnmieq45YUZnVV0by2:-NuQ_km7aiwSWprwFgEE
Feedback ZIP: 6GtVZPsTPI5Jgd269v5vxrdK1d7WB0Q+o45I3LBPirNfHIkgKtf/eBUUeUpfIe5/Wk3wBUeQlYQKFJM47++CdcDBMqo2ayD7SM6V2pW0ntJrUCFHNdF0K4Yayd4WaqqieulIRYF5kmeDqE57Shc5tH7smtKaD4z8SGAqIeysrmm0vTjwrS0eWqaL38K1jB7j3+YrHMC6GouTMKeK5t46T4lmumACMs35q9c7FBLRvf+KsYYZ2Go3FEN9Jus0N/rp7wLqXjZD/28sIofkGbQgXorA+coyw+j10QiwYVj4v6boQLVyPaVdne0RqjWUETnkopykEyby1qC8WCz9hZ7vSHHbV2IOuG51eB4D2tl67LI=
- Chris Shaw @Chris_Shaw2024-04-04 01:16:08.872Z
Hey @paulmagurany,
You almost had it.
You were missing quotation marks around the menu path item and})
at the very end of the script. Additionally, you don't need the 1500 ms wait.
There was also an unnecessarysf.ui.proTools.focusedWindow.menuItems
andsf.ui.proTools.windows.whoseTitle.contains('Edit:').first.elementWaitFor();
To make the script more robust, I added atrackScrollToView()
to ensure the track is visible in the edit window so the menu click doesn't fail.
This should do it// Adjust Ld V // Find ∆ Ld V track sf.ui.proTools.trackSelectByName({ names: ["∆ Ld V"], }); // Ensure track is visible for popup nemu selection sf.ui.proTools.selectedTrack.trackScrollToView(); sf.ui.proTools.selectedTrack.titleButton.popupMenuSelect({ isRightClick: true, menuPath: ["Coalesce VCA Controller Automation"] })