No internet connection
  1. Home
  2. Support

MACRO command to access a mouse click on Pro Tools Track options

By Alex Morgan @Alex_Morgan
    2020-09-11 19:04:15.256Z

    HI tehre i am trying to create a macro so i can access the right click on f track name in pro tools edit window to access its options

    My goal is to be able to acces the 'move to...' option for folders in PT

    Not sure what the 1st line of command should be ... i need to instrust SF to RIGHT click on track name ... any help woudl be awesome! thank you !

    Solved in post #8, click to view
    • 9 replies
    1. Hi Alex,

      This script would click "Move to..." and select the "New Folder..." option on the currently selected track:

      sf.ui.proTools.selectedTrack.titleButton.popupMenuSelect({
          isRightClick: true,
          menuPath: ['Move to...', 'New Folder...'],
      });
      
      1. AAlex Morgan @Alex_Morgan
          2020-09-15 14:56:54.012Z

          THANSK SO MKUCH !

          BUT i don't know how to insert this into script - and can't see a video/tutorial

          what I mean is ... what is the step to use your kindy provided script into the script creator in soundflow - ie which line goes where etc ?

          i would love to know this as then I could try and use the scripts for open automation lanes but when I copy and paste them it doesn't work and I guess I am doing it wrong!

          thanks!!!

          ps JUST LOVING SOUNDFLOW SO MUCH!

          1. Hi Alex

            What I showed you above would be the entire script. Just copy/paste it in, nothing else.
            The script would click on "Move to..." -> "New Folder..."

            You can see it in action here:

            https://drive.google.com/file/d/13oEndr7goy88oavyv0NZypvRBFyizSKV/view?usp=sharing
            1. AAlex Morgan @Alex_Morgan
                2020-09-17 13:53:10.749Z

                Hey, thanks whenever i paste the code i get an error message?

                please see attached screenshot! :)

                thank you!

                0

                1. Oh ok. Thanks for showing us that error.

                  Things to try: Do you have Link Track and Edit Selection turned on? Are you in the Edit window (most SoundFlow functions don't work in the Mix window).

                  1. AAlex Morgan @Alex_Morgan
                      2020-09-17 15:10:34.199Z

                      got it working FANTASTIC and i edited...

                      just to follow same logic ... if i wanted to be able to 'click' automation lanes box without having to move mouse over to channel is there a similar way!

                      i wish I knew how to edit script!

                      1. Try this :)

                        sf.ui.proTools.selectedTrack.children.whoseTitle.is('Show/hide automation lanes').first.elementClick();
                        
                        Reply1 LikeSolution
                        1. AAlex Morgan @Alex_Morgan
                            2020-09-17 22:24:35.404Z

                            Christain, you are a complete legend!!!! Soundflow is TRULY changing my life! i am so SO grateful for this product !!!!!!!!!!!!! :)

                            1. Thank you, Alex :) So happy to hear it!