great job! AppleScript being slow here and there is a normal issue, especially with PT. I wouldn't worry too much.

And great to see someone finally contributing to this thread again. 😉

Oliver

Quote:

Originally Posted by Kevin Peters

To improve upon my post above, I looked through the UI elements of the Track List again, and it turns out that the rows (tracks) in the "Track List" table have a parameter called "Selected" that has a true or false value. Using this new information here is my updated script for 2019.5:

Code:

tell application "System Events"
if exists (process "Pro Tools") then
tell process "Pro Tools"
tell (1st window whose title contains "Edit: ")
set selectedTrack to title of button of UI element 2 of (1st row of table "Track List" whose selected is true)
set formattedString to text of selectedTrack as string
set AppleScript's text item delimiters to "Selected. "
set theTextItems to every text item of formattedString
set AppleScript's text item delimiters to ""
set formattedString to theTextItems as string
click button "Output Window button" of group "Audio IO" of group formattedString
end tell
end tell
end if
end tell

This dramatically increases the speed of the script, although there still is a 1/2 second to 1 second delay in really big sessions with hundreds of tracks. That being said in a small session it's a very short delay. I wonder if there is still a way to speed it up. I got rid of the safety check on the button so save a split second.

Using this script you can change it to open any of the visible inserts, sends, and other buttons on the track.

i´m curious if there was any update to the scripts V1 and V2 for HighSierra/2019.5? V2 was the last scripts i downloaded but a lot of the scripts like e.g. "snap clip to next clip" doenst work anymore since i upgraded to 10.13.6 and 2019.5.

I haven't updated them in a while but the script you mentioned still works for me.
Same OS and PT versions.

Quote:

Originally Posted by innenhofstudios

Hi guys,

i´m curious if there was any update to the scripts V1 and V2 for HighSierra/2019.5? V2 was the last scripts i downloaded but a lot of the scripts like e.g. "snap clip to next clip" doenst work anymore since i upgraded to 10.13.6 and 2019.5.

great to hear. so the mistake must be somewhere else. maybe in different languages as i use PT in German...

Could be. It has been documented in one of my PDFs that running PT in english is mandatory. Some scripts may run regardless of the language but most won't. Its because most PT menus are accessed by their name, not index.

A few years back I was thinking about adding support for other languages but thats a lot of work as I would have to incorporate Localized Strings. And then I would need to support all kinds of combinations for different languages of macOS and PT. All this is too much work for freeware.

Hi, this looks really interesting, however when I download the package it seems incomplete. The extras folder contains one apple script template but no macros to import to KM. Is there anyone that can explain what I might be doing wrong? would love to experiment with these and try to learn more about macros for speed.

Hi, this looks really interesting, however when I download the package it seems incomplete. The extras folder contains one apple script template but no macros to import to KM. Is there anyone that can explain what I might be doing wrong? would love to experiment with these and try to learn more about macros for speed.

thanks

John,

have you actually read the PDF that comes with the installer?
You basically just run the installer and then execute one of the AppleScripts via KM.

have you actually read the PDF that comes with the installer?
You basically just run the installer and then execute one of the AppleScripts via KM.

yes. I must be missing a step. the PDF states,

All scripts get installed in ~/Library/Scripts/Applications/Pro Tools and can be executed from applications like FastScripts or Keyboard Maestro.

Also your original post states:

Macros for all scripts are included and ready to be used with Keyboard Maestro,
they can be found in the Extras folder of the Disk Image from where they can be
imported. Users of FastScripts open its Preferences/Script Shortcuts section and
add a shortcut to each script.

I am not able to find those Macros. Obviously I am missing something basic.
but please understand.. I am very new to all of this, and just looking for clues on how it's done so I can learn and eventually start creating.