Created
February 18, 2017 13:54
-
-
Save Kwpolska/c95ecc31a9cfb56ca7ab2ba527f271bc to your computer and use it in GitHub Desktop.
Text to Speech service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- USAGE: create an Automator service that receives selected text and put this in "Run AppleScript" | |
on run {input, parameters} | |
choose from list {"Alex", "Daniel", "Ewa", "Samantha", "Serena", "Thomas", "Zosia", "Bad News", "Good News", "Pipe Organ"} with prompt "Choose voice:" without multiple selections allowed and empty selection allowed | |
set voice to the result as string | |
say input using voice | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment