|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#261
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Have you read the entire thread?
I mean really, have you? |
#262
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
yes i've...
3 times ;-) but it's look like i've missed something... i'll read again. |
#263
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
hi
i've read all thread but ... but i've find with ui browser...a must have... thank you for the link. and thank you for your help best jf script for show only track from a group Code:
set cliclickCLIPath to "usr/local/bin/cliclick" property cliclickCLIPath : missing value activate application "Pro Tools" tell application "System Events" tell application process "Pro Tools" tell UI element 2 of row 2 of table 2 of window 1--ROW 1=ALL AND NEXT FUNCTION OF YOUR SESSION set {xPosition, yPosition} to position set {xSize, ySize} to size my cliClick("rc:" & xPosition + (xSize div 2) & "," & yPosition + (ySize div 2)) --ACTION FOR SELECT SHOW ONLY TRACK FROM GROUP repeat 7 times key code "125" end repeat key code 36 end tell end tell end tell on cliClick(coordinate) do shell script quoted form of cliclickCLIPath & " -r " & coordinate end cliClick Last edited by oudi; 12-12-2019 at 01:08 PM. |
#264
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
You're welcome. 😉
Quote:
|
#265
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
PS: I find it very cool that you share your code all the time, oudi.
This is helping everyone around! |
#266
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
thank of your help....
and for me i try to learn just with person like you. it 's normal to share . i'm working for a search in marker . it's not easy. the soundflow work very well and i think we can do this with applescript. Last edited by oudi; 12-15-2019 at 08:51 AM. |
#267
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
👍
|
#268
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Hello Oliver and thank you so much for this much appreciated contribution of yours!!
I am on a PT 2020.03 Ultimate and the script to close AudioSuite windows is not working. I have also created a new one based on you thread's suggestion: "activate application "Pro Tools" tell application "System Events" tell process "Pro Tools" tell (every window whose name contains "AudioSuite") to click button 1 -- Close button end tell end tell" But not this one neither the ones from Vol.1 update 2. Can you or anyone help me with this, please? Thanks a lot in advance!! d^_^b
__________________
PC Windows 10, Ryzen 3900X, 64GB, NVIDIA GeForce GTX1650 //MacPro 4,1(2009) flashed to 5,1-OSX 10.14.6-PT Ultimate 2020.03-64GB RAM-Radeon RX560 2GB |
#269
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
hi
the problem is the button 1 is not each time the close button...it depand of the plug and it's not AudioSuite but Audio Suite. for example for the channel strip plug the close button is the 11 Code:
activate application "Pro Tools" tell application "System Events" tell process "Pro Tools" tell (every window whose name contains "Audio Suite") to click button 11 -- Close button end tell end tell |
#270
|
|||
|
|||
Re: Automation AppleScripts for Pro Tools (Mac)
Thanks oudi!
But how can I know which is that button number for every plugin? Thanks!
__________________
PC Windows 10, Ryzen 3900X, 64GB, NVIDIA GeForce GTX1650 //MacPro 4,1(2009) flashed to 5,1-OSX 10.14.6-PT Ultimate 2020.03-64GB RAM-Radeon RX560 2GB |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pro Tools 12 Trim Automation | [email protected] | Pro Tools 12 | 2 | 08-16-2015 04:25 AM |
Pro Tools 11.2.1 Automation Bug?! | Gneal550 | Pro Tools 11 | 1 | 11-22-2014 01:15 PM |
GRM tools automation bug? | D'Animation | Pro Tools TDM Systems (Mac) | 6 | 10-08-2014 08:21 AM |
scripting Pro Tools; automation | Bermaster | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 12 | 10-01-2004 12:38 PM |
AppleScripts and other Macros for PT | Bergeron | Tips & Tricks | 1 | 11-15-1999 06:55 PM |