开发者

py-appscript & events

开发者 https://www.devze.com 2023-01-18 16:07 出处:网络
Is it possible to subscribe to events using py-appscript ? Example: I\'d like to get开发者_开发问答 a callback when a user changes a rating on iTunes.Some very few applications are recordable: that i

Is it possible to subscribe to events using py-appscript ?

Example: I'd like to get开发者_开发问答 a callback when a user changes a rating on iTunes.


Some very few applications are recordable: that is, they'll send Apple Events to themselves which can be intercepted. iTunes is not one of these applications. iTunes does send distributed notifications for music start/stop, but not for rating changes. Assuming you don't want to patch iTunes itself, your only real choice is to parse iTunes Music Library.xml.

0

精彩评论

暂无评论...
验证码 换一张
取 消