Dave Nanian notes that running an AppleScript that asks System Events merely whether a process is running brings up the new accessibility permissions dialog. This has caused some problems for SuperDuper. Unfortunately:
- This is the documented and most straightforward way to check whether an application is running. It’s not actually dangerous.
- If you do grant permission, the script then gains full access to automate the UI, which you probably don’t want.
Stay up-to-date by subscribing to the Comments RSS Feed for this post.