No internet connection
  1. Home
  2. How to

Massey DRT audiosuite “analyze” button

By Beau Burchell @Beau_Burchell
    2021-12-04 14:48:25.486Z

    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

    Solved in post #2, click to view
    • 6 replies
    1. samuel henriques @samuel_henriques
        2021-12-04 15:27:17.678Z

        Hello Beau

        try the moue click relative to ui element

        if you never used it here's Kitch explaining the steps

        Reply1 LikeSolution
        1. BBeau Burchell @Beau_Burchell
            2021-12-04 15:53:04.362Z

            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.

            1. BBeau Burchell @Beau_Burchell
                2021-12-05 01:35:37.740Z

                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

              • B
                In reply toBeau_Burchell:
                Beau Burchell @Beau_Burchell
                  2021-12-05 02:15:50.056Z

                  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

                  1. Kitch Membery @Kitch2021-12-05 07:29:31.002Z

                    Ahhh, yes, @samuel_henriques suggestion is perfect for exactly this scenario. :-)