![]() ![]() I made variables ("GainRow" etc) for the position of the UI element that is being edited, to make it easier to change if a Logic update moves something. ![]() You can tweak this script to alter other things like fade in, gain etc. Tell row _FadeOutRow of outline 1 of scroll area 1 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow Tell pop up button 1 of row _FadeTypeRow of outline 1 of scroll area 1 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow If value of pop up button 1 of row _FadeTypeRow of outline 1 of scroll area 1 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow is not "Out" then Set crossfade type to Out, if it isn't already If value of UI element 1 of group 1 of row _MoreRow of outline 1 of scroll area 1 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow is not equal to 1 thenĬlick UI element 1 of group 1 of row _MoreRow of outline 1 of scroll area 1 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow Open the "More" disclosure triangle, if it isn't already If value of UI element 2 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow is not equal to 1 thenĬlick UI element 1 of group _SubGroupNumber of list 1 of group _GroupNumber of window _TracksWindow Open the "Region" disclosure triangle, if it isn't already If (value of static text 1 of group 1 of list 1 of group _GroupNumber of window _TracksWindow is "Movie") then If (description of group 1 of window _TracksWindow = "Control Bar") then Set _TracksWindow to title of first window whose title contains "- Tracks" Set _FadeLength to _FadeLength as integer Set _FadeLength to getvariable "FadeLength" Tell application "Keyboard Maestro Engine" (for me anyway!): # get length of fade from Keyboard Maestro This works, but it's not quite as instant, and every time they update Logic there's a chance it will break (parameters will move slightly etc).Īnyway, here's my script for fade-out which works on Logic 10.6.1. 'first box on the left, third line down, change this parameter'. ![]() telling it exactly where in the user interface to change parameters, e.g. Yes that's exactly what I was doing! Unfortunately, Logic doesn't have proper AppleScript support, so you have to 'brute force' it with UI scripting (i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |