Hi there - love SF ... been writing some macros mostly using the 'click menu item' functionality.
I want to create a Pro Tools shortcut for showing automation lanes drop down (which you access from clicking the little button on bottom left of track in edit window)
Does nayone know how this could be acheived.
and seondly how to create a macro from the options one sees when clicking the track dropdown menu (not he one in the top menu bar) ie track name then say: 'modulation wheel' so that midi data is revealed?
many thanks!
Alex
- Christian Scheuer @chrscheuer2020-09-08 16:11:09.613Z
Hi Alex,
You can use the "Select Track Display" action for this:
Here that same macro is as code:
sf.ui.proTools.selectedTrack.trackDisplaySelect({ displayPath: ["controllers","mod wheel (1)"], });
- AAlex Morgan @Alex_Morgan
OH THAT'S AMAZING
will that work also with a different signal path
- eg // controllers ... sustain
OR velocity
Christian Scheuer @chrscheuer2020-09-08 17:06:53.601Z
Yes, you just need to be careful to put in the name of the menu item exactly as it's spelled in Pro Tools :)
- AAlex Morgan @Alex_Morgan
got it working - will programme a pack ...
is there a way though to write a macro that imitates clicking the small box that reveals automation lanes? as that way u could see the lanes more than 1 at a time ... it is the small box on the bottom left of each track ... ?
Christian Scheuer @chrscheuer2020-09-08 21:09:26.320Z
Hi Alex,
I think you should be able to find some inspiration on automation lanes in this thread, which has a lot of examples on how to automate them:
https://forum.soundflow.org/-2736/toggle-showhide-automation-lanes-sends-volumeFeel free to open a new thread if you have a separate issue/request that isn't covered (better than augmenting to the closed thread since I won't see replies to a closed thread).
- AAlex Morgan @Alex_Morgan
thanks C - this is. greta thread however when i tried to paste the script it did not wrok is there a video on srcipt editing ?
Christian Scheuer @chrscheuer2020-09-12 14:52:49.980Z
Making scripts in SF takes a long time to learn :) The best way to get started is trying to make macros and then asking directly for what you need help with here in the forum.
If there's something that isn't working for you, then please click the "Help" button in your script, and fill out the questions on what you want the script to do.