10.14 Beta (18A326g) QuickTime fails to be controlled by AppleScripts

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.

10.14 Beta (18A326g) QuickTime fails to be controlled by AppleScripts
 
 
Q