|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#291
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Well, it was years ago when I shared my first packages and tried KM with them. They wouldn't be triggered correctly causing all kinds of weird issues.
I would try to just trigger compiled Script files with KM and then also try to just enter the AppleScript code in KM and run this. Maybe you'll notice a difference. There is definitely no flaw in your code, the only thing I would add is to let the Script wait for the AS window to appear before the Render button gets addressed. But that the Render button is being clicked several times makes me think that it is an issue with whatever method you use to trigger the code. |
#292
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
All great suggestions. I’ll try a few things and report back. I agree that it’s the trigger used to execute that is the problem.
Thanks again. Good idea on the wait part, hadn’t thought of that but I don’t recall it being an issue in the past. Would you mind telling me what that line would look like if I needed it? |
#293
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
Here it is: Code:
tell application "System Events" tell process "Pro Tools" set frontmost to true if exists (window "Audio Suite: iZotope RX De-click") then click UI element "Render" of window "Audio Suite: RX 8 De-click" else click menu item "RX 8 De-click" of menu of menu item "Noise Reduction" of menu "AudioSuite" of menu bar 1 repeat until exists window "Audio Suite: RX 8 De-click" end repeat click UI element "Render" of window "Audio Suite: RX 8 De-click" end if end tell end tell |
#294
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Thanks!
|
#295
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Thanks for your help Oliver,
I've discovered that creating a hot key in Keyboard Maestro and executing the script with a macro works as expected. I'm not really sure why the native OS shortykey doesn't work but I'm not gonng mess around with it. Now that I think about, I might have been having this issue way back when, but I'm not really sure. For now, problem resolved. I might switch to FastScripts at some point but right now I have so many things I use KM for it would just be a pain to have to switch. Also, the script to open the AS plugin and render works great even without the wait. Thanks again! |
#296
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Great. 👍
BTW, the wait is just a safety measure, because if the Audio Suite window doesn’t open fast enough, which can happen from time to time, the Render click will be performed regardless of the Audio Suite window state and thus before the window is open, and you don’t want that. 😉 |
#297
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Hello all,
since I upgraded to 2021.7 I´m experience a similar problem to my automation shortcuts on izotope RX triggered via automator. Every time i´m using a shortcut the process gets triggered 3 times. Those shortcuts have been working flawlessly before the update. Has anyone found a solution to this? |
#298
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
|
#299
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
I was hoping to find a solution that works without another programm. But I've only heard good things about keyboard maestro so far. |
#300
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Hello all,
I have heard many great things about Keyboard Maestro. However, I would be interested in a solution that would allow me to continue working with the automator. Has anybody a Solution ? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pro Tools 12 Trim Automation | [email protected] | Pro Tools 12 | 2 | 08-16-2015 04:25 AM |
Pro Tools 11.2.1 Automation Bug?! | Gneal550 | Pro Tools 11 | 1 | 11-22-2014 01:15 PM |
GRM tools automation bug? | D'Animation | Pro Tools TDM Systems (Mac) | 6 | 10-08-2014 08:21 AM |
scripting Pro Tools; automation | Bermaster | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 12 | 10-01-2004 12:38 PM |
AppleScripts and other Macros for PT | Bergeron | Tips & Tricks | 1 | 11-15-1999 06:55 PM |