|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#161
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
|
#162
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Got it! it'll be worth a shot.
Thank you |
#163
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
hi guys,
I´m quite new on this an this thread was very helpfull for me. Tx a lot ! The Render Button was also the reason i was looking for. So i installed FastScript and tried to "write" my own script for opening Mouth De-Clicker, followd by the Render function. I tried this: activate application "Pro Tools" delay 0.2 tell application "System Events" tell process "Pro Tools" click menu item "RX 6 Mouth De-Click" of menu 1 of menu item "Noise Reduction" of menu "AudioSuite" of menu bar 1 tell (1st window whose name contains "Audio Suite") to click button "Render" -- Render button end tell end tell -- The good thing it works with the play function within FastScript. But it does not work in the ProTools Application when the AS PlugIn is Closed. I always get error: "Error Number: -1719 System Events got an error: Can’t get window 1 of process "Pro Tools" whose name contains "Audio Suite". Invalid index." when i open the AudioSuite PlugIn then it only works as Render Button... Any ideas ?
__________________
www.innenhofstudios.at |
#164
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
You have to keep in mind that AppleScript in PT only works via GUI Scripting. Only GUI elements that are visible can be accessed via AppleScript in PT. In example you cannot tell PT to print a specific session for you with one line of code but you can tell Finder to open the session in PT and then you can code all the steps you would do in order to print the session, see? |
#165
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
i found one e.g. to open the "gain" AS "plugin"... after open it its visible with the gui so now i would like the script to proceed with the "Render" Script...
__________________
www.innenhofstudios.at |
#166
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
This will do what you ask for: Code:
activate application "Pro Tools" delay 0.1 tell application "System Events" tell process "Pro Tools" click menu item "Gain" of menu 1 of menu item "Other" of menu "AudioSuite" of menu bar 1 -- Launch Gain AS plug-in set asWindow to 1st window whose name contains "Audio Suite" -- Set variable for the AudioSuite window repeat until exists asWindow end repeat tell asWindow to click button "Render" end tell end tell |
#167
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Alert regarding Pro Tools 12.8.2 compatibility
In Pro Toos 12.8.2 Avid changed a lot of things that break quite a lot of my AppleScripts I shared in the past. I do not know if and when I will find time to create builds with fixes for public versions. I hope you guys understand. |
#168
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Quote:
excited to hear from you
__________________
www.innenhofstudios.at |
#169
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Like what?
|
#170
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Hahaha. My Mistake. Nearly none.. only Toggle Mix/Edit which is a shortcut already for decades
__________________
www.innenhofstudios.at |
|
|
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 |