No internet connection
  1. Home
  2. How to

How to click on a Plugin button?

By Brian Rund @Brian_Rund
    2020-04-09 15:51:53.973Z2020-04-09 15:54:07.645Z

    I'm looking for a way to toggle between the processing modes in the NEYRINCK Soundcode LtRt Tools.
    Specifically - turning Stereo on and off so I can quickly toggle between the 5.1 and LtRt.

    Solved in post #2, click to view
    • 2 replies
    1. Hi Brian!
      Welcome to the forum and to SoundFlow :)

      The easiest way to do this is to simulate a Mouse Click inside the plugin window.
      To do that, follow these steps:

      • Create a new Macro by clicking "+ New" and choose "Macro". Give it a name.
      • Add a "Mouse Click Relative to UI Element" action by clicking "Add Action" and searching for "Mouse Click Relative to UI Element".

      You should now have this action:

      • Make sure the SoundCode LtRt plugin is open in Pro Tools.
      • Now back in SF, click the "PICK" button, Cmd Tab to Pro Tools, and select the whole SoundCode LtRt window. This is easiest if you click a little to the right of the window title.

      It should now look a bit like this - but with "SoundCode LtRt" instead of "EQuilibrium":

      Now you need to find out how far in X and Y coordinates the button you want to click is from the top left corner of the plugin window, and then when you know those coordinates, you need to input them into the X and Y fields, respectively.

      To get those coordinates, I typically do this:

      • Start to create a screen grab in macOS - you do this by hitting Ctrl+Shift+Cmd+4.
      • This will allow you to drag on the screen. While you drag, macOS will show you the size of the area that you're highlighting in X and Y coordinates.
      • So, if you hit Ctrl+Shift+Cmd+4 and then start dragging from the top left corner of the plug-in window and drag down to the middle of the button you want to press, you can find the X and Y coordinates for the button relative to the top left corner of the window.
      • Put those coordinates into X and Y, and your command should be ready.

      Don't forget to add a Keyboard Trigger or other trigger to it. This command since it uses Mouse Simulation, it needs the window to be in the foreground and Pro Tools to be the focused app.

      ReplySolution
      1. BBrian Rund @Brian_Rund
          2020-04-09 17:01:56.860Z2020-04-09 17:28:49.205Z

          This worked perfectly...
          Thank You!
          Brian