Mouse Click Relative to a Selected Track (Pro Tools)
Hello,
Using the Macros I am trying to Click on any part OF A SELECTED track (not Specific Track).
so if there is a way to do it with different Macros please let me know.
Otherwise with some new Script or any other way you guys think is more convenient.
Thanks!
- Christian Scheuer @chrscheuer2021-02-09 14:00:52.874Z
Hi Dan,
Typically, it's not needed to use Mouse Click Relative to UI Element for any operation on selected tracks. Can you tell in more detail what you're trying to do?
- DDan Oxer @Dan_Oxer
Hi Dan.
Yes...
So I know you can use the macro "mouse click relative to UI element"
But picks a spot relative to the whole Pro Tools window or relative to a "specific" Pro Tools element...and I want it relative to a Selected Track.So I just want a way to click a spot 'Relative or within a SELECTED" Track,
I just know having that possibility will be great for future ideas.
For example I asked that I want to have a selected track to go "to the top of the screen", and you do that it in Pro Tools:
Selecting a Track and then CTRL+SHIFT and Left click over that Selected Track Name...the whole tracks scrolling up and the selected track goes to the top of the screen.Thank you!
Christian Scheuer @chrscheuer2021-02-09 17:42:21.412Z
Hi Dan,
SoundFlow has much more control than that. You can specifically click the selected track's title button to do that, like this:
SoundFlow understands all the UI elements inside the track's header (the individual buttons) so we don't use X/Y coordinates to get where we want from just the selected track. We get there by first finding the actual UI path to the button.
You can learn more about how to use UI automation in the following 2 videos:
And in terms of the selected track, here's the full list of APIs that are available from
sf.ui.proTools.selectedTrack
: