• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing voice in VoiceOver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing voice in VoiceOver


  • Subject: Re: Changing voice in VoiceOver
  • From: Brian Christmas <email@hidden>
  • Date: Mon, 15 Nov 2010 09:46:53 +1100


On 15/11/2010, at 9:34 AM, André Renault wrote:

I tried this and it doesn't work, I don't think. Can you give me advice?
property fred : "com.apple.speech.synthesis.voice.Fred"
property alex : "com.apple.speech.synthesis.voice.Alex"

property cvoice : false -- false is Fred, true is Alex, this is just making it easy

on run
if (cvoice) then
setVoice(alex)
else
setVoice(fred)
end if
end run

on setVoice(v)
do shell script "defaults write com.apple.VoiceOver3/default.plist SCRCategories_SCRCategorySystemWide_SCRSpeechComponentSettings_SCRVoiceIdentifier " & v
set cvoice to not cvoice
end setVoice
On 2010-11-14, at 5:19 PM, Philip Ershler wrote:


G'day

Try something like this.....

global TheSpeechRate
global theVoice

property cvoice : false -- false is Fred, true is Alex, this is just making it easy

on run
set TheSpeechRate to 160
if cvoice then
my setVoice("alex")
else
my setVoice("fred")
end if
end run

on setVoice(v)
say "[[rate " & TheSpeechRate & "]]warning, there are only 12 gigabytes left on server. " using v
--set cvoice to not cvoice
end setVoice

Regards

Santa

And what, you ask, was the beginning of it all?
And it is this......
Existence that multiplied itself
For sheer delight of being
And plunged with numberless trillions of forms
So that it might
find
itself
innumerably

Sri Aurobindo





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changing voice in VoiceOver
      • From: André Renault <email@hidden>
References: 
 >Changing voice in VoiceOver (From: André Renault <email@hidden>)
 >Re: Changing voice in VoiceOver (From: André Renault <email@hidden>)

  • Prev by Date: Re: Changing voice in VoiceOver
  • Next by Date: Re: Changing voice in VoiceOver
  • Previous by thread: Re: Changing voice in VoiceOver
  • Next by thread: Re: Changing voice in VoiceOver
  • Index(es):
    • Date
    • Thread