I am trying to read the currently playing track of iTunes using ScriptingBridge. I found a couple of other threads here but no one seems to be working for me (macOS Mojave a
The solution provided by matt works.
I noticed that the sandboxing feature can still be enabled, if I add the following key to the entitlements file:
com.apple.security.temporary-exception.apple-events com.apple.iTunes