No internet connection
  1. Home
  2. Support

(PT) Right Click on Selected Track Name

By Stefan Möhl @Stefan_Mohl
    2019-09-27 07:05:56.156Z

    - Right Click on Selected Track Name*

    How is it possible to get access to the items when I right click on a track name. e.g. to delete one ore more selected tracks?
    Solved in post #2, click to view
    • 4 replies
    1. Like this:

      
      sf.ui.proTools.selectedTrack.titleButton.popupMenuSelect({
          menuPath: ['Rename...'],
          isRightClick: true,
      });
      
      

      Although please note that we already have built-in actions for many of these things (built-in actions with more functionality and more error handling built in)

      Reply1 LikeSolution
      1. Stefan Möhl @Stefan_Mohl
          2019-10-08 22:18:45.794Z

          Thank you. I will sheck out the builit-in function. Didn´t know that some of the function already exist.

          1. In reply tochrscheuer:
            Mike Wax @mikewax
              2020-06-23 23:04:13.758Z

              How would you do this on something that's not a selected track? Like the Video window for example. I'm trying to select the Fullscreen option in the Video window to toggle fullscreen.

              1. Hi Mike.

                This sounds like a better fit for a new thread as right-clicking is a very generic subject.
                The quick answer would be to watch our videos on how to do this via UI Automation (find them in the Help Panel, under Getting Started, and UI Automation).