No internet connection
  1. Home
  2. How to

How to use the Select Item in Popup Menu action in Pro Tools

By Dario Ramaglia @dario.ramaglia
    2019-07-22 06:17:22.386Z

    Let's say I want to set the MTC Generator port (Setup>Peripherals>Synchronization) to DARIO MIDI IN DIRECT.
    If the MTC GENERATOR PORT is set to NONE there's no problem with the script but if it is already set to DARIO MIDI IN DIRECT the script STOP.
    I think that's because with the picker, when you choose the Popup menu, it selects the option already displayed too (image attached)

    How can we tell to the script, via macro, to skip a step if something is already as we wanted it to be?
    Hope what I wrote makes sense :)

    Cheers

    PS = I'll attach the whole script just to share and once solved I'll make a separated HOW TO

    Solved in post #7, click to view
    • 6 replies
    1. You'll need to check today's video in the group :) Use the drop down to select non titled elements in your UI paths wherever you see them point to stuff that could change depending on what's currently selected

      1. For example. Instead of First Popup Button "none" (which will only work if the selection is "none") choose something else without the title "none" by clicking on First Popup Button "none". Should make sense if you watch the video :) Otherwise feel free to ask here.

        1. Dario Ramaglia @dario.ramaglia
            2019-07-22 09:29:18.290Z

            Thanks, I saw the video but I thought for some reason it wasn't gonna work on this case because the labels were completely different.
            I'll test this as soon as I can ;)

            1. Dario Ramaglia @dario.ramaglia
                2019-07-22 10:43:58.556Z

                Ok, with a few adjustment now it works like a charm!
                Do you want me to create an HOW TO thread for this Macro?

                1. Yay! @dario.ramaglia better to just follow up in this thread I think with what you needed to change and the final macro - it seems to work well with the Q/A format.

                  1. Dario Ramaglia @dario.ramaglia
                      2019-07-22 11:09:44.868Z

                      I actually just needed to select the right UI ELEMENT out of all the ones SF proposed me.
                      Here's the final macro:

                      Reply1 LikeSolution