Q: AppleScript keycodes: https://eastmanreference.com/complete-list-of-applescript-key-codes  Example used with my video editing software:  tell application "System Events" key code 0 using {command down} # select all delay 0.5 key code 44 using {shift down, command down} # select top menu delay 0.5 repeat 3 times # arrow left over to Action menu key code 123 end repeat delay 1 repeat 7 times # arrow down to Templates