Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Additional Resources


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > Tips & Tricks

Reply
 
Thread Tools Search this Thread Display Modes
  #181  
Old 01-19-2019, 07:50 AM
Oliver M Oliver M is offline
Member
 
Join Date: Dec 1969
Location: Europe
Posts: 927
Default Re: Automation AppleScripts for Pro Tools (Mac)

For some reason I cannot post any code to this board, access denied?!?!
Reply With Quote
  #182  
Old 01-19-2019, 07:56 AM
Oliver M Oliver M is offline
Member
 
Join Date: Dec 1969
Location: Europe
Posts: 927
Default Re: Automation AppleScripts for Pro Tools (Mac)

Here's a download link for the code I intended to post.

AppleScript_for_Johannes.scpt.zip

Install cliclick in /usr/local/bin/.
Reply With Quote
  #183  
Old 01-19-2019, 10:03 AM
its2loud its2loud is offline
Member
 
Join Date: Dec 2014
Location: Los Angles
Posts: 333
Default Re: Automation AppleScripts for Pro Tools (Mac)

this works like a charm. Thanks Oliver!

I've added in the script to type in the preset name. Just replace the line with "your preset name here" with the name of the preset you want to recall.

https://drive.google.com/open?id=1Da...7MlX5Hb99y_mxN

The rest is up to you how you want to implement the script.

keep in mind, to install cliclick in the specified directory you will have to show hidden files and folders in the Finder. The easiest way to do this is open the Finder window and hold Commnd+Shift+. Then drop the cliclick file in the appropriate folder.

cliclick can be downloaded here

https://www.bluem.net/en/projects/cliclick/
Reply With Quote
  #184  
Old 01-19-2019, 01:13 PM
johannes1 johannes1 is offline
Member
 
Join Date: Apr 2013
Location: Germany
Posts: 28
Default Re: Automation AppleScripts for Pro Tools (Mac)

thanks a lot guys. thats it!
i added:
click button "RENDER"
after the first end tell.

wow, now i have to make sure not to move my mouse while executing the macro… otherwise it could do a lot of mess. i wonder if there is way to tell applescript to block mouse or trackpad inputs during the macro¿
Reply With Quote
  #185  
Old 01-19-2019, 01:27 PM
its2loud its2loud is offline
Member
 
Join Date: Dec 2014
Location: Los Angles
Posts: 333
Default Re: Automation AppleScripts for Pro Tools (Mac)

not really sure about that. Considering the script runs in a matter of seconds I wouldn't think it would be a big deal to just take your hand off the mouse when using the shortcut key to run the service/script.

by the way. this script only works if the De-click window is already showing on screen.

I've written a script that will call up the De-click, or any other plugin, if it's not already showing, then execute the remaining commands.

A lot of folks I know use Xkeys for executing these various scripts while editing and such. Makes for a really great workflow. Personally, I've made some user softkeys on the S6 execute these scripts so I don't need Xkeys.
Reply With Quote
  #186  
Old 01-19-2019, 01:48 PM
johannes1 johannes1 is offline
Member
 
Join Date: Apr 2013
Location: Germany
Posts: 28
Default Re: Automation AppleScripts for Pro Tools (Mac)

i see. just tested it with my macbook and its trackpad… will see how it works in my studio. probably just like a dream.

at work the rx declicker is always visible on the second monitor since i use it the whole time. and yes using a xkeys - one key triggering – is great. now i make 3 declick presettings from subtle to hard and map them on 3 keys. ace!

what makes a lot of sense regarding workflow:
i added & " -r " to the shell part at the end of the script which preserves the cursor position on the screen. so you didnt have to "pick up" the cursor from the declick window over and over again.

Last edited by johannes1; 01-19-2019 at 02:05 PM.
Reply With Quote
  #187  
Old 01-21-2019, 06:19 AM
Drew Mazurek's Avatar
Drew Mazurek Drew Mazurek is offline
Moderator
 
Join Date: Oct 2000
Location: Maryland, USA
Posts: 11,488
Default Re: Automation AppleScripts for Pro Tools (Mac)

test

Code:
test
__________________
www.drewmazurek.com

Mixing and Mastering click here to get started.
Reply With Quote
  #188  
Old 01-21-2019, 08:08 AM
Oliver M Oliver M is offline
Member
 
Join Date: Dec 1969
Location: Europe
Posts: 927
Default Re: Automation AppleScripts for Pro Tools (Mac)

2nd test...

Code:
Thx Drew!
Reply With Quote
  #189  
Old 01-22-2019, 02:30 AM
Oliver M Oliver M is offline
Member
 
Join Date: Dec 1969
Location: Europe
Posts: 927
Default Re: Automation AppleScripts for Pro Tools (Mac)

Most of my AppleScripts for Pro Tools have been translated to JavaScript and can now be used with SoundFlow v2.
I shared them as free Packages “Pro Tools Automation Pack #1 - 5” available from SoundFlow’s build in Package Store.

Pro Tools Automation Pack #1 - Plug-Ins - SoundFlow Package

Pro Tools Automation Pack #2 - Create Tracks - SoundFlow Package

Pro Tools Automation Pack #3 - Create Sessions - SoundFlow Package

Pro Tools Automation Pack #4 - Clips - SoundFlow Package

Pro Tools Automation Pack #5 - Toggles - SoundFlow Package
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pro Tools 12 Trim Automation bleu@cheerful.com Pro Tools 12 2 08-16-2015 05:25 AM
Pro Tools 11.2.1 Automation Bug?! Gneal550 Pro Tools 11 1 11-22-2014 02:15 PM
GRM tools automation bug? D'Animation Pro Tools TDM Systems (Mac) 6 10-08-2014 09:21 AM
scripting Pro Tools; automation Bermaster 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 12 10-01-2004 01:38 PM
AppleScripts and other Macros for PT Bergeron Tips & Tricks 1 11-15-1999 07:55 PM


All times are GMT -7. The time now is 11:49 PM.


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