Hi folks,
This is my first macro and I thought it would have been a simple one.
I just want to hit two Pro Tools keyboard shortcuts in sequence.
- cntrl option command up arrow and
- option A
This should give me a view of everything in the Edit Window zoomed out.
I don't know how to have Soundflow select these Pro Tools keyboard shortcuts.
What do I need to do?
Thanks.
- Christian Scheuer @chrscheuer2020-08-09 14:27:01.329Z
Hi James,
You can use the "Press Keys" action in SoundFlow to simulate a series of keystrokes.
- Ccharlie keating @charlie_keating
Rad! I can now create 2pops with the push of a button. Thanks!
- In reply toJames_Richmond⬆:James Richmond @James_Richmond
Hi Christian,
Yes this has worked- I now have Logic style 'fit all to zoom' (cmd A and Z) in Pro Tools.
Thanks very much.
Cheers,
JamesChristian Scheuer @chrscheuer2020-08-09 18:29:09.550Z
Nice! Quick pro tip - you can record more than one keystroke in the same Press Keys action, which may be slightly faster :)
James Richmond @James_Richmond
Thanks very much.
Is there a pause command anywhere?
Sometimes it is useful to have a small delay between button presses in some apps.Christian Scheuer @chrscheuer2020-08-09 18:32:45.622Z
You can use the "Wait" action as a last resort, but generally in SoundFlow we don't use waits with arbitrary constants, instead we wait for the actual thing that we need to happen - for example for a UI element to be ready. This is much more stable and composable than telling the system to wait for, say 200 ms. - which would break on any systems that are slower than the one you tested on.
I highly recommend watching the two last videos in our Learning SoundFlow playlist here to learn more about how to do UI automation with SoundFlow:
https://www.youtube.com/playlist?list=PLKWpZOwx5Z3jxnpNo_dQPhDQNRwp7DCNjJames Richmond @James_Richmond
Got it.
Thanks for the assistance- I appreciate it.