View Single Post
  #12  
Old 07-27-2019, 11:28 AM
Richard901 Richard901 is offline
Member
 
Join Date: Oct 2005
Posts: 485
Default Re: Soft Keys/Macros for rendering Audio Suite

Quote:
Originally Posted by Oliver M View Post
No screenshot but the code:

Code:
tell application "System Events"
	set frontmost of process "Pro Tools" to true
	tell process "Pro Tools"
		try
			click menu item "Reverse" of menu 1 of menu item "Other" of menu "AudioSuite" of menu bar 1
			repeat until exists (1st window whose name is "Audio Suite: Reverse") -- We wait for the AudioSuite "Reverb" plug-in window to open
				delay 0.1
			end repeat
		on error e number n
			tell application "Pro Tools"
				activate
				display alert e & " (" & n & ")" message "An Error Occurred" buttons ["Cancel"] default button 1
			end tell
		end try
		-- Add any other AppleScript code here...
	end tell
end tell
Works perfectly!!!
Thanks very much.
__________________
Pro Tools 2023.9
Ventura 13.6
Reply With Quote