[macvoiceover] How to change voiceOver voice using appleScript

  • From: Jonathan Chacón <jonathan.chacon@xxxxxxxxxxxxxx>
  • To: <macvoiceover@xxxxxxxxxxxxx>
  • Date: Mon, 19 Jan 2009 16:33:08 +0100

Hello,
 
I want to make an applescript to change voiceOver voice between spanish
voice and english voice.
How can I do this?
I'm a newbye applescripter
 
I think I have to begin like this:
 
tell application "voiceOver"
set voice1 = "spanish voice"
set voice2 = "alex"
if voiceOver.voice = voice 1 then set voiceOver.voice = voice2
if voiceOver.voice = voice 2 then set voiceOver.voice = voice1
end tell
 
 
thanks and regards
    Jonathan Chacón

Other related posts:

  • » [macvoiceover] How to change voiceOver voice using appleScript - Jonathan Chacón