【发布时间】:2015-05-24 12:56:05
【问题描述】:
我想使用 AppleScript 从 iTunes 搜索结果中下载所有应用程序。
我只想下载按钮显示“获取”的应用(我不想下载付费应用或已下载的应用)。
我在下面附上了 iTunes 结果和辅助功能检查器的屏幕截图:
我已尝试使用以下代码访问 UI 元素:
tell application "System Events" to tell application process "iTunes"
get buttons of UI elements of UI elements
end tell
任何建议都会很棒!谢谢!
【问题讨论】:
标签: applescript ui-automation automator