I've got a script that takes multiple MP4s and strings them into one long movie, which I can then post to social media. While the script works when run from Script Editor, trying to make a KM shortcut out of it does not work, causing an execution error "can't get end (-1728)." So I can't run it from KM at all.
The part that generates the error is
tell application "Terminal" to do shell script "/usr/local/bin/ffmpeg -f concat -safe 0 -i /users/pp/posthere/mylist.txt -c copy /users/pp/desktop/output_" & randomString & ".mp4" as string
say "you got that error again"
Does anyone have an idea of why an AS would not work from inside KM?