Avid Pro Audio Community

Avid Pro Audio Community (http://duc.avid.com/index.php)
-   Tips & Tricks (http://duc.avid.com/forumdisplay.php?f=4)
-   -   Automation AppleScripts for Pro Tools (Mac) (http://duc.avid.com/showthread.php?t=360743)

Oliver M 09-25-2015 09:53 AM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Quote:

Originally Posted by Linck (Post 2297345)
Ok. Im trying to figure out how you manage to use/automate the chekbox in the save session as, with audiofiles? I would like to do some script for bouncing different types of files and video..

I use the application UI Browser to check and access the Pro Tools User Interface elements.
Remember that Pro Tools is not Apple scriptable, thus you gotta work with GUI scripting.

See MacOSXAutomation.com for more info.


Quote:

Originally Posted by Linck (Post 2297345)
Again, thanks allot for the scripts:)

You're welcome. ;-)

Oliver M 10-07-2015 03:48 PM

Re: Automation AppleScripts for Pro Tools (Mac)
 
There have been changes made in PT 12.2 regarding AppleScript. Some of my scripts broke due to this.
I have updated all of the scripts but before I release them to the masses I'd like some testers to help and try them out first.

Please, send me a private message if you are interested to help.

Oliver M 10-18-2015 08:00 AM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Update 1 of Vol. 1 is available now.

Important:
Make sure to delete the old scripts first before running the installer, else you will end up with a mess. :-)


Pro Tools Automation Scripts Vol. 1 - Update 1


What’s new in Update 1 (10/2015)
  • All scripts and the installer are code signed now, thus Gatekeeper savvy
  • Support for Pro Tools 12.2 and higher has been added
  • Some scripts have been slightly renamed for different reasons
  • The Save Session Copy scripts have been enhanced by a 4th script which saves the session copy with audio files only
  • All scripts should work with OS X El Capitan, however this has not been fully tested as there has been no El Capitan compatible Pro Tools version released yet


Minimum System Requirements
  • OS X 10.8.4 or higher, Pro Tools 11.1 or higher
  • Pro Tools and OS X running in english


Download Pro Tools Automation Scripts Vol. 1 - Update 1

Marco Bernardo 11-11-2015 08:31 PM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Quote:

Originally Posted by Oliver M (Post 2303700)
Update 1 of Vol. 1 is available now.

Important:
Make sure to delete the old scripts first before running the installer, else you will end up with a mess. :-)


Pro Tools Automation Scripts Vol. 1 - Update 1


What’s new in Update 1 (10/2015)
  • All scripts and the installer are code signed now, thus Gatekeeper savvy
  • Support for Pro Tools 12.2 and higher has been added
  • Some scripts have been slightly renamed for different reasons
  • The Save Session Copy scripts have been enhanced by a 4th script which saves the session copy with audio files only
  • All scripts should work with OS X El Capitan, however this has not been fully tested as there has been no El Capitan compatible Pro Tools version released yet


Minimum System Requirements
  • OS X 10.8.4 or higher, Pro Tools 11.1 or higher
  • Pro Tools and OS X running in english


Download Pro Tools Automation Scripts Vol. 1 - Update 1

I WAS LOOKING FOR THIS KIND OF SCRIPTS!! THANK YOU YEAAAAAAHhh

sorry for the caps but it's 3:30 am here

Can I ask you just some little things? If yes, here is the first one.

What it's the command to select inside a menu, example:
I open Selected Tracks as New Session... and I want to make a tick on the items to copy - > audio files

I already made a script that call's the "Selected Tracks as New Session..." menu :) that's why I'm still awake at 3:30am

Thank you so much for this.
Regards,

Oliver M 11-12-2015 02:35 AM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Quote:

Originally Posted by Marco Bernardo (Post 2310582)

Can I ask you just some little things? If yes, here is the first one.

What it's the command to select inside a menu, example:
I open Selected Tracks as New Session... and I want to make a tick on the items to copy - > audio files

Hi Marco,

thats:

Code:

click checkbox "Audio Files"
Wrapped in a tell block:

Code:

tell application "System Events"
        tell process "Pro Tools"
                tell window "Save Session Copy"
                        click checkbox "Audio Files"
                end tell
        end tell
end tell


Oliver

Marco Bernardo 11-12-2015 09:27 AM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Quote:

Originally Posted by Oliver M (Post 2310639)
Hi Marco,

thats:

Code:

click checkbox "Audio Files"
Wrapped in a tell block:

Code:

tell application "System Events"
        tell process "Pro Tools"
                tell window "Save Session Copy"
                        click checkbox "Audio Files"
                end tell
        end tell
end tell


Oliver

Nice lets see if I can do it :)

Thank you so much

Oliver M 01-04-2016 07:38 PM

Re: Automation AppleScripts for Pro Tools (Mac)
 
I am wondering if anyone has noticed any issues with the scripts under El Capitan. As an example, do you notice any slowness when running the Save Session Copy script?

Marco Bernardo 01-04-2016 08:03 PM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Quote:

Originally Posted by Oliver M (Post 2325420)
I am wondering if anyone has noticed any issues with the scripts under El Capitan. As an example, do you notice any slowness when running the Save Session Copy script?


Im still not in El Capitan, but I have some time tomorrow and I could install in one machine and test it. I give you some feedback tomorrow.

Oliver M 01-06-2016 05:26 PM

Re: Automation AppleScripts for Pro Tools (Mac)
 
OK, seems like it didn't work out Marco.

Anyone else?

Marco Bernardo 01-06-2016 05:28 PM

Re: Automation AppleScripts for Pro Tools (Mac)
 
Quote:

Originally Posted by Oliver M (Post 2326073)
OK, seems like it didn't work out Marco.

Anyone else?

I did install El Capitain, but didn't have time to test it, I was asked to do some mixes. Let me see if I can test it with Team viewer connect to the DAW at work.


All times are GMT -7. The time now is 06:41 PM.

Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com