Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] macOS - Terminal - Use speech in Terminal or scripts
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2796
Topic starter
June 20, 2021 4:50 AM
For a little test I wanted a script to use speech and say something out loud.
In Terminal this is done with the "say" command:
say "Hello World"
Note: The selected voice is controlled in you System Preferences -> Accessibility -> Spoken Content -> System Voice (this is for Big Sur, older macOS version may call this "Speech").