Create Track Stack Preset -> Folder vs Sum
By Justin Krol @Justin_Krol
Hi @Kitch!
Say, is there a command in the Logic package to create a specific type of track stack? I'm constantly having to use both folder and sum stacks in any given session and I've tried a number of things to make my own script to pick between the two (so I can have two stream deck buttons for track stacks (Folder Stack / Sum Stack). Let me know your thoughts, but it appears that maybe the radio button is an issue...?
- Kitch Membery @Kitch2025-06-24 16:45:59.512Z
Hi @Justin_Krol
Great suggestion for an addition to the Logic Pro package!
Here is a script that should get the job done till I get around to adding it to the package.
const stackType = "Folder stack" // "Folder stack" or "Summing stack" const logic = sf.ui.logic; logic.mainWindow.invalidate(); logic.appActivateMainWindow(); logic.menuClick({ menuPath: ["Track", "Create Track Stack…"] }); sf.ui.logic.mainWindow.sheets.first.elementWaitFor(); const targetRadioButton = sf.ui.logic.mainWindow.sheets.first.getFirstWithTitle(stackType); const createButton = sf.ui.logic.mainWindow.sheets.first.getFirstWithTitle("Create"); targetRadioButton.elementClick(); createButton.elementClick() sf.ui.logic.mainWindow.sheets.first.elementWaitFor({ waitForNoElement: true, });
- SIn reply toJustin_Krol⬆:SoundFlow Bot @soundflowbot
This issue is now tracked internally by SoundFlow as SF-2050
- JJustin Krol @Justin_Krol
Amazing -- works flawlessly. Thanks as always!
Kitch Membery @Kitch2025-06-25 16:05:35.117Z
Awesome!!! Enjoy! :-)