View Single Post
  #41  
Old 01-17-2016, 07:02 AM
Oliver M Oliver M is offline
Member
 
Join Date: Dec 1969
Location: Europe
Posts: 1,106
Default Re: Automation AppleScripts for Pro Tools (Mac)

Quote:
Originally Posted by Dan Smith View Post
These are really, really great. Thanks so much for sharing them.

Any chance you could share the script commands to close the AudioSuite window? I'm trying to create a script that will loop through and close all the audiosuite plugins open, not just the one. Do you know if this is possible?
Yes, possible.

Code:
activate application "Pro Tools"
tell application "System Events"
	tell process "Pro Tools"
		tell (every window whose name contains "Audio Suite") to click button 1 -- Close button
	end tell
end tell

I’ll add this as a separate script to the upcoming Vol. 2 package, released to be sometime soon. ;-)
Reply With Quote