Searching for resources: apple script for VO and Speech Synthesis development guide

By Nuno, 28 April, 2022

Forum
App Development and Programming

Hello,
VoiceOver can be controlled with APple Script, but what actions are available? The basic scripts provided by VO provideo nly some basic functionality, but as shown by apps like VOCR, much more can be done with VO and Apple Script than that. Could someone provide me with any documentation to the available interfaces?
Also, I am looking for an API of Speech SYnthesis, since I want to develop a simple voice for Mac. I have heard that there's a very old book concerning that, but I know neither the title, or the author. Could someone provide more insight on that plase?

Options

Comments

By Quin on Monday, May 23, 2022 - 02:12

VoiceOver doesn't have a specific AppleScript layer. If you learn the basics of AppleScript, you should be alright. You can look at my and Mason's Resource Monitor Mac scripts, the built-in Apple ones, or show package contents on VOCR to get the applescripts they used, although it might not be as much as you think.

As for the speech layer, it got majorly changed in macOS 11, and 12, but if you want an old reference, download Tyler Spivey's OSX-Eloquence package from allinaccess.com, and look at the Python module he's using.

By Quin on Monday, May 23, 2022 - 02:12

I take that back. It's just very well hidden. In the Script Editor, press Command Shift O, and select the app you want to get an API reference for.