Macros and Shortcuts for Pro Tools using AppleScript
Since EuControl dose miss out on some features (you can find out more here), we are helping our selfs by using AppleScript with a little help of Automator.
(Since we are using AppleScript, this will only work on Mac)
Ill be showing one detailed example with a complete walkthrough and some use cases.
This Script as shown in the video above, will open the “iZotope RX 5 De-crackle” AudioSuite window if not already open (this is represented by the if/else Routine), and hit the “Render”-Button.
Note: The AudioSweet Plugin will open with its default values. So make sure you set your go-to- preset to the factory default setting.
tell application "System Events" tell process "Pro Tools" set frontmost to true if exists (window "Audio Suite: iZotope RX 5 De-crackle") then click button "Render" of window "Audio Suite: iZotope RX 5 De-crackle" else click menu item "iZotope RX 5 De-crackle" of menu of menu item "iZotope, Inc." of menu "AudioSuite" of menu bar 1 click button "Render" of window "Audio Suite: iZotope RX 5 De-crackle" end if end tell end tell
To run the AppleScript will be using the macOS/OS X build in Automator App which is capable to create and run Services.
Creating a Service, open the Automator App, choose “Service” as your wanted type of document. Set the “Service receives” to “no input” in the dropdown menu (will be using a shortcut) and set the “in” to “Pro Tools” so the service will only be visible in the Pro Tools Applications.
Add the actions “Run AppleScript” and enter the Script to the Action. All should look now like this:
Save it and give it a name.
Pro Tools | AppleScript
As you can see using AppleScript and Automator to create shortcuts and even macros for Pro Tools which are missing out is a helpful and powerful tool (especially for mouse only commands).
Some other use cases:
- Audio Suite | RX 5 Connect | Send & Render
- Audio Suite | Reverse | Render
- Automation | Preview
- Copy Track Name to Comments
(this script has to be run as an AppleScript application or in AppleScript it self, caused to the open Rename-Dialog window which is blocking the Mac OS services)
If you’r looking out further into creating your own AppleScript the “Accessibility Inspector“ which comes with Xcode will be a helpful tool. It allows to inspect UI elements.
Note: The shown example are all for Pro Tools 11 and above. Pro Tools 10 is using Number instead of Names for the Buttons.
BTW: featured as a Community Tip at Pro Tools Expert 🙂
If you have any questions feel free to leave a comment.