【发布时间】:2020-06-12 09:00:04
【问题描述】:
我想用 AppleScript 打开 Siri,但不知道怎么做。
很难在官方文档中找到它。
非常感谢任何帮助。
【问题讨论】:
标签: applescript siri
我想用 AppleScript 打开 Siri,但不知道怎么做。
很难在官方文档中找到它。
非常感谢任何帮助。
【问题讨论】:
标签: applescript siri
一种可能的解决方案是在系统偏好设置中启用“在菜单栏中显示 Siri”并运行
tell application "System Events" to tell the front menu bar of process "SystemUIServer"
tell (first menu bar item whose description is "Siri")
perform action "AXPress"
end tell
end tell
您必须在安全和隐私中启用相应的辅助功能部分
【讨论】: