I have quite a few AppleScripts that I use to play QuickTime-movies with.
Today, since installing 10.14 Beta (18A326g), all that happens is: QuickTime Player starts up (launches) but no songs ever get played.
I have quite a few AppleScripts that I use to play QuickTime-movies with.
Today, since installing 10.14 Beta (18A326g), all that happens is: QuickTime Player starts up (launches) but no songs ever get played.
from a unix-style shell-script:
'osascript < applescript' reports:
execution error: Not authorized to send Apple events to QuickTime Player. (-1743)
Now, guess what...
Pulling osascript through ssh again solves the problem, so:
osascript < applescript this fails...
ssh -x localhost 'osascript < applescript' worked!
Thanks for the info. I have a "ton" of workflow scripts which have this problem. Basically System Events isn't authorized to control Terminal, but there are osascript that terminal also runs which have this problem. It's a great hassle to modify everything to use ssh. Hopefully this is fixed in the next release, because it makes many workflow actions useless.
See https://www.felix-schwarz.org/blog/2018/06/apple-event-sandboxing-in-macos-mojave for a detailed explanation of the problem.