Hi everyone!
I’m trying to set up a simple audiosuite macro that will open Massey DRT, then click analyze.
My problem is that when I try to select the “analyze” button using the UI clicker action, it can not find the “analyze” button maybe it’s a problem with the Massey DRT plug-in interface? Or is there a better method for selecting this specific button?
Thank you in advance.
Beau
- samuel henriques @samuel_henriques
Hello Beau
try the moue click relative to ui element
if you never used it here's Kitch explaining the steps
- BBeau Burchell @Beau_Burchell
Yes, That is exactly what I was missing. Thank you very much!
Beau
- In reply toBeau_Burchell⬆:Kitch Membery @Kitch2021-12-05 00:50:00.334Z
Hi @Beau_Burchell,
@samuel_henriques suggestion will work for sure, however, if the "Analyze" button is the standard button at the bottom of the Audio Suite Window (With its UI element accessible to SoundFlow), It would be better to use the following script.
Note: I don't have the "Massey DRT" plugin so I'll use the Pro Tools "Gain" plugin as an example.
const audioSuitePluginName = "Gain" const asWin = sf.ui.proTools.getAudioSuiteWindow(audioSuitePluginName); //Click the "Analyse" button asWin.getFirstWithTitleContaining("Analyze").elementClick();
Just change the
audioSuitePluginName
and you should be good to go.Rock on.
- BBeau Burchell @Beau_Burchell
Amazing! I’ll post a video shortly of how it looks when I try to target the analyze button in the plug-in. It’s not the standard one.
The x y axis mouse click worked well for this purpose. But I will try this new code and report back.Thank you both very much. This community is amazing!
Beau
- BIn reply toBeau_Burchell⬆:Beau Burchell @Beau_Burchell
Here is a quick video showing how the analyze button is not available to sound flow via the click UI element. But I was able to make the command work by using the x y coordinates.
I’ll try the code shortly, but wanted to show you this video so you could see what I was facing.
Thanks again!
Beau
Kitch Membery @Kitch2021-12-05 07:29:31.002Z
Ahhh, yes, @samuel_henriques suggestion is perfect for exactly this scenario. :-)