View Single Post
  #293  
Old 08-30-2021, 07:07 AM
Oliver M Oliver M is offline
Member
 
Join Date: Dec 1969
Location: Europe
Posts: 1,107
Default Re: Automation AppleScripts for Pro Tools (Mac)

Quote:
Originally Posted by its2loud View Post
Would you mind telling me what that line would look like if I needed it?

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
Reply With Quote