Selecting Specific Plugin Presets Using Keyboard Shortcut
Title
Selecting Specific Plugin Presets Using Keyboard Shortcut
What do you expect to happen when you run the script/macro?
Hi!
I'm trying to creat a macro that I can use to quickly load up a "go to" preset on Pro-C2.
I'm using the ProTools preset menu, not the built in FabFilter preset location.
So far I have the macro open the preset drop down menu using the "UI Elements" action, but this is where it gets stuck though.
I can't figure out how to make it select the specific preset from the drop down list and then open it.
Help!
Are you seeing an error?
What happens when you run this script?
When I run the macro the presset drop down menu opens up, but then nothing happens. I need to open up AND then select and launch the specific preset
How were you running this script?
I used a keyboard shortcut within the target app
How important is this issue to you?
4
Details
{ "inputExpected": "Hi!\n\nI'm trying to creat a macro that I can use to quickly load up a \"go to\" preset on Pro-C2.\n\nI'm using the ProTools preset menu, not the built in FabFilter preset location.\n\nSo far I have the macro open the preset drop down menu using the \"UI Elements\" action, but this is where it gets stuck though.\n\nI can't figure out how to make it select the specific preset from the drop down list and then open it.\n\nHelp!", "inputIsError": false, "inputWhatHappens": "When I run the macro the presset drop down menu opens up, but then nothing happens. I need to open up AND then select and launch the specific preset", "inputHowRun": { "key": "-Mpfwh4RkPLb2LPwjePT", "title": "I used a keyboard shortcut within the target app" }, "inputImportance": 4, "inputTitle": "Selecting Specific Plugin Presets Using Keyboard Shortcut" }
Source
//Macro converted to script
sf.ui.proTools.children.whoseRole.is("AXWindow").first.popupButtons.allItems[3].elementClick();
sf.keyboard.type({
text: "Yianni's Favorite Limiter Preset",
});
sf.keyboard.press({
keys: "return",
});
Links
User UID: V1j0aAqXguStBYYHVLNaRpbeV4V2
Feedback Key: sffeedback:V1j0aAqXguStBYYHVLNaRpbeV4V2:-N2HqNwcLmi7kUEdwVnr
- Christian Scheuer @chrscheuer2022-05-17 22:41:10.970Z
Hi there,
To learn how to do this, I'd recommend using UI automation. In SoundFlow we don't use keyboard simulation for these kinds of things.
You can learn more about how to use UI automation instead of keyboard simulation in the following 2 videos:
Christian Scheuer @chrscheuer2022-05-17 22:41:55.580Z
That being said, there are also packages available in the Store that can help you select Presets in AudioSuite menus. Check the AudioSuite folder inside the official Pro Tools package, or check the AudioSuite package by Nick Leyers in the Store.
Also, be sure to update to the newest SoundFlow - 5.1.4 - on my.soundflow.org
- Yyianniap @yianniap
Thanks for the response Christian!
Although I'm still hitting a wall.
To clarify, my goal is to do this with a standard plugin, not an AudioSuite.
I do "Click UI Element", select the preset menu, but I'm not sure where to go from there to select the preset I want.
My ultimate goal is to have 3 or 4 presets I frequently use easily accessible by pressing command + 1, command + 2, etc. to hop between them.
Additionally I want to implement a workflow where I have these "go to" presets for most of the plugins I use. So I don't want the soundflow macro to be linked to a specific preset name, but rather to the start of a preset name. For example "1* Vocal Compression", "1* Gtr Phaser", or "1* Mix Bus EQ"
I want soundflow to be able to select the preset that starts with "1*" and that way I can use the same macro for whichever plugin/preset is loaded. I hope that makes sense!
That's partly I thought the "type text" action could work because i was hoping I could have it type "1*" and then it would jump to the only preset that starts with that in the menu and select it.
Christian Scheuer @chrscheuer2022-05-18 09:38:37.360Z
You'll need to use the "Open & Select Item in Popup Menu" action – I walk through that in the above videos, so be sure to watch them from end to end.
Christian Scheuer @chrscheuer2022-05-18 09:41:49.764Z
My ultimate goal is to have 3 or 4 presets I frequently use easily accessible by pressing command + 1, command + 2, etc. to hop between them.
This would be achievable using the technique I describe in the videos.
So I don't want the soundflow macro to be linked to a specific preset name, but rather to the start of a preset name. For example "1* Vocal Compression", "1* Gtr Phaser", or "1* Mix Bus EQ"
Ah ok. That's not gonna work with how SoundFlow interacts with popup menus.
Consider instead using the built-in "Search Presets" script in the "Inserts" folder in our official Pro Tools package:
- In reply toyianniap⬆:OOwen Granich-Young @Owen_Granich_Young
This should be a request to Protools to have a 1-5 preset on all audio suite windows just like Fader and Clip effect windows! From there you could easily automate it with soundflow.
- OOwen Granich-Young @Owen_Granich_Young
I Actually built this package @Scott_Robinson - check out my package UNIVERSAL PLUGIN PRESETS on the store.