• 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: André Renault <email@hidden>
  • Date: Sun, 14 Nov 2010 19:40:52 -0500

Thank you! This one worked:
property curVoice : false
on run
if curVoice then
set myVoice to "Alex"
else
set myVoice to "Fred"
end if
set curVoice to not curVoice
tell application "VoiceOver Utility"
activate
tell application "System Events" to tell process "VoiceOver Utility"
select row 3 of table 1 of scroll area 1 of window "VoiceOver Utility"
select radio button "Voices" of tab group 1 of group 1 of window "VoiceOver Utility"
click pop up button 1 of tab group 1 of group 1 of window "VoiceOver Utility"
click menu item myVoice of menu 1 of pop up button 1 of tab group 1 of group 1 of window "VoiceOver Utility"
click button 1 of window "VoiceOver Utility"
end tell
end tell
end run
On 2010-11-14, at 7:25 PM, Brian Christmas wrote:


On 15/11/2010, at 10:00 AM, André Renault wrote:

Brian, I'm trying to set the voice for VO and your script doesn't seem to work within the context.
On 2010-11-14, at 5:46 PM, Brian Christmas wrote:


G'day André

I think the easiest way will be to open the VoiceOver Utility and GUI it. It's fairly fast, and the script could be amended to run as two apps, each with a different voice, and each in the dock. Just click on the one you want to run.

tell application "VoiceOver Utility"
activate
tell application "System Events" to tell process "VoiceOver Utility"
select row 3 of table 1 of scroll area 1 of window "VoiceOver Utility"
select radio button "Voices" of tab group 1 of group 1 of window "VoiceOver Utility"
click pop up button 1 of tab group 1 of group 1 of window "VoiceOver Utility"
click menu item "Fred" of menu 1 of pop up button 1 of tab group 1 of group 1 of window "VoiceOver Utility"
click button 1 of window "VoiceOver Utility"
end tell
end tell


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: Brian Christmas <email@hidden>
    • Re: Changing voice in VoiceOver
      • From: Brian Christmas <email@hidden>
References: 
 >Changing voice in VoiceOver (From: André Renault <email@hidden>)
 >Re: Changing voice in VoiceOver (From: André Renault <email@hidden>)
 >Re: Changing voice in VoiceOver (From: Brian Christmas <email@hidden>)
 >Re: Changing voice in VoiceOver (From: André Renault <email@hidden>)
 >Re: Changing voice in VoiceOver (From: Brian Christmas <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