在 macOS Sierra 上启动语音首选项面板
Launching speech preferences pane on macOS Sierra
是否可以在 macOS Sierra 上打开 Accessibility/Speech 时启动首选项面板?对于可访问性,我知道您可以使用 x-apple.systempreferences:com.apple.preference.universalaccess
来做到这一点。我也知道 Accessibility 窗格中的大多数选项卡在启动时都可以打开,但是没有文档说明是否可以在 Sierra 上使用 Speech 选项卡。这是迄今为止我发现的最全面的 link:https://macosxautomation.com/system-prefs-links.html,但它早于 Sierra 并且当时语音属于不同的窗格,因此它被列出但 link 没有用。
您正在寻找 x-apple.systempreferences:com.apple.preference.universalaccess?TextToSpeech
可以通过打开窗格然后使用 applescript 查询应用程序来检索窗格的锚点:
tell application "System Preferences" to get anchors of current pane
哪个returns:
"Keyboard"
"Dwell"
"Captioning"
"Seeing_VoiceOver"
"SpeakableItems"
"TextToSpeech"
"Hearing"
"Switch"
"General"
"Media_Descriptions"
"Mouse"
"Seeing_Display"
"Seeing_Zoom"
https://support.apple.com/kb/PH25806?viewlocale=en_US&locale=en_US,标题
macOS Sierra: Speech pane of Accessibility System Preferences
表示语音面板还在。
Use the Speech pane of Accessibility System Preferences to customize the system voice, be notified when an alert or app needs your attention, and set a shortcut to speak selected text.
To open this pane, choose Apple menu > System Preferences, click Accessibility, then click Speech.
是否可以在 macOS Sierra 上打开 Accessibility/Speech 时启动首选项面板?对于可访问性,我知道您可以使用 x-apple.systempreferences:com.apple.preference.universalaccess
来做到这一点。我也知道 Accessibility 窗格中的大多数选项卡在启动时都可以打开,但是没有文档说明是否可以在 Sierra 上使用 Speech 选项卡。这是迄今为止我发现的最全面的 link:https://macosxautomation.com/system-prefs-links.html,但它早于 Sierra 并且当时语音属于不同的窗格,因此它被列出但 link 没有用。
您正在寻找 x-apple.systempreferences:com.apple.preference.universalaccess?TextToSpeech
可以通过打开窗格然后使用 applescript 查询应用程序来检索窗格的锚点:
tell application "System Preferences" to get anchors of current pane
哪个returns:
"Keyboard"
"Dwell"
"Captioning"
"Seeing_VoiceOver"
"SpeakableItems"
"TextToSpeech"
"Hearing"
"Switch"
"General"
"Media_Descriptions"
"Mouse"
"Seeing_Display"
"Seeing_Zoom"
https://support.apple.com/kb/PH25806?viewlocale=en_US&locale=en_US,标题
macOS Sierra: Speech pane of Accessibility System Preferences
表示语音面板还在。
Use the Speech pane of Accessibility System Preferences to customize the system voice, be notified when an alert or app needs your attention, and set a shortcut to speak selected text.
To open this pane, choose Apple menu > System Preferences, click Accessibility, then click Speech.