iTunes有什么脚本目标? [英] What Scripting Targets exist for iTunes?

查看:231
本文介绍了iTunes有什么脚本目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple有一个很好的技术问答页面用于实现Mail.app的脚本目标。但是,即使脚本目标也适用于iTunes,没有可用的脚本目标的完整列表。

Apple has a nice documented Technical Q&A page for implementing scripting targets for Mail.app. However, even though scripting targets also work for iTunes, there isn't a comprehensive list of available scripting targets.

有人知道如何找到此列表吗?

Does anybody know how to find this list? The WWDC 2012 session on Secure Automation mentions a few, but it isn't comprehensive.

推荐答案

在OS X 10.9 Mavericks中,可以在 /System/Library/Frameworks/Foundation.framework/Versions/Current/Resources com.apple.iTunes.sdef 文件c $ c>。

In OS X 10.9 Mavericks, you can view the com.apple.iTunes.sdef file at /System/Library/Frameworks/Foundation.framework/Versions/Current/Resources. This lists the scripting target access group associated with each AppleScript command.

有六个访问组:

com.apple.iTunes.device
com.apple.iTunes.library.read
com.apple.iTunes.library.read-write
com.apple.iTunes.playback
com.apple.iTunes.podcast
com.apple.iTunes.user-interface

这篇关于iTunes有什么脚本目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆