HI everybody
FIRST
A big thank you for all the contributions....
Really nice....
i 'm in the begin of my apllescript adventure.
and thank of you i understand more and more.
BUT
i try to make a script for select the menu by criteria in soundfiled recording.
it's ok BUT
the end of the script is very very slow juste to do 3 key code action....
i don't understand.
maybe you can help me.
here is the script
Code:
activate application "Pro Tools"
tell application "System Events"
tell application process "Pro Tools"
set window_name to name of front window
-- key code for copy paste
key code 8 using {command down}
key code 41
key code 9 using {command down}
-- click pop up button for track P1
click pop up button 1 of group "P1 - Audio Track " of window window_name
-- type e for select expand channels and by criteria
-- PROBLEM THE SRCIPT VERY VERY LONG TIME TO DO THE NEXT STEP
key code 14
key code 124
key code 36
end tell
end tell
Thanks in advance.
best
ps : sorry for my beautifull PERFECT english