View Single Post
  #239  
Old 10-01-2019, 05:02 PM
echoesoflife echoesoflife is offline
Member
 
Join Date: Aug 2019
Location: Melbourne, Australia
Posts: 10
Default Re: Automation AppleScripts for Pro Tools (Mac)

Hi all,

Making some progress, the script even works for multiple files selected in Automator (surprisingly!) - with a little bit of my help though.

There is one challenge which I couldn't solve yet, and this is regarding dialog windows.

For example, while PT is loading, it may pop up a dialog suggesting that my HUI controller is absent, and the OK button is required to proceed.

I am wondering if any of you have had some luck automatically detecting and pressing "OK", "No" or "Don't Save" buttons in the pop-up dialog windows in Pro Tools.

These windows always go with "window 1" identifier, however once I try to talk to button "OK" of window 1, the script refuses to do so.

Partially this may be because one has to wait until these windows appear, and I don't quite know how to achieve that. I tried repeat until window 1 exists, and this didn't work either.

Any help would be greatly appreciated.

Thanks,
Michael
__________________
Pro Tools 2019, Hackintosh High Sierra
Reply With Quote