Reading currently playing track in macOS using ScriptingBridge not working

前端 未结 2 1911
耶瑟儿~
耶瑟儿~ 2020-12-06 14:59

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

2条回答
  •  无人及你
    2020-12-06 15:39

    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
        
    

提交回复
热议问题