Just got my stream deck and I am now a happy user of SoundFlow.
There is this one little thing that I just can't hack.
I want to make a macro or script, that emulates a right click on a selection on a track, so that I can expand the channel to new tracks by match criteria.
I can make SoundFlow do the right click, and the menu does pop up, but I can't seem to get SoundFlow to select items from the menu and sub-menus that pops up.
Do you have any clues?
Welcome on board :)
You need to use the "Open & Select Item in Popup Menu" action and use the advanced parameters to set it to right click.
I think though this would need to be a script if you want it to automatically click on the selection and not where your mouse already is.
I think I have some scripts for this somewhere that we can add.
B Brad Semenoff @ Brad 2020-06-19 18:07:30.801ZTagging onto this thread.
I've added an "Open and Select Item in Popup Menu" command, used the advanced parameters to make it a right click, and I get an error message saying error in line 0: Error invoking popupMenu.select. I'm guessing my mistake is not selecting the correct UI element, but I'm not sure what else to select. Any help would be appreciated. Thanks!
I was able to get this working by using "Get Mouse Position", dragging the output of that to the input of the "Open Popup Menu from Absolute Position" command with a right click, and then using the "Click Popup Menu" command to get the "Matching Field Recorder Channels: Match Criteria. " window. Is there a better way to do this?
Dustin Harris @ Dustin_Harris
Check this thread out, maybe it would be useful to you?
In reply toBrad ⬆ :Christian Scheuer @ chrscheuer
Very impressive progress on this :) You're probably doing it as well as possible with a macro.
To really make it work well, you'd have to use a script unfortunately, as the combination of UI macros & the concept of the selected track, don't really work super well together yet.
sf.ui.proTools.selectedTrack.titleButton.popupMenuSelect(< isRightClick: true, menuPath: ['Expand Channels To New Tracks', 'By Match Criteria'], >); var matchCriteriaWin = sf.ui.proTools.windows.whoseTitle.is('Field Recorder Channels Match Criteria').first; //Wait for the Match Criteria window to appear matchCriteriaWin.elementWaitFor(); //Click Reset matchCriteriaWin.buttons.whoseTitle.is('Reset').first.elementClick();
B Brad Semenoff @ Brad 2020-06-22 04:12:40.076Z
Thanks @Dustin_Harris and @chrscheuer! These are great and very helpful. I'm slowly trying to teach myself Javascript so that I can access the more powerful features of Soundflow.
Dustin Harris @ Dustin_Harris
@Brad I didn't know anything about Javascript until I got soundFlow as well, and I'm slowly learning too :)
@chrscheuer sent me this link a while ago and its fantastic: