

Additionally User has to Relaunch the application after enabling Accessibility.
#Enable access for assistive devices in mac 10.12 mac os#
I assume this is some sort of security change as part of Mavericks, but I can't seem to find a way to make it work again. So Mac OS 10.9 will prompt a dialog for end user permission to enable Accessibility when application uses accessibility APIs. I also have several scripts that were scheduled with crontab on my Mac, and these are also failing since upgrading. This does not report an error within the ssh session, but an applescript dialog appears on the remote mac: (Where 'Play Music.app') is an applescript exported as an app). I've tried packaging the applescripts as applications, saving them on the remote Mac, and then opening them from within an ssh session, but this also fails: ssh "~/Desktop/Play Music.app" Similarly, a number of other scripts that I had previously been using also seem to now be broken on 10.9 with the same error, so this seems to be related to the fact that it's running over ssh, rather than an issue with iTunes or a specific application. setting Enable access for assistive devices to work properly.

The script fails, coming back with: execution error: iTunes got an error: Application isn’t running. OS X 10.10 Yosemite, OS X 10.11 El Capitan, macOS 10.12 Sierra, macOS 10.13 High Sierra.

