• 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: Speakable Item and SpeechRecognitionServer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speakable Item and SpeechRecognitionServer


  • Subject: Re: Speakable Item and SpeechRecognitionServer
  • From: Deivy Petrescu <email@hidden>
  • Date: Sat, 19 Sep 2009 18:26:19 -0400


On Sep 19, 2009, at 5:54 PM, Bruce Robertson wrote:

I'm making some progress. But another thing I notice is that there does not
seem to be a dictionary for SpeechRecognitionServer.


Here is a thread along the lines of what I'd like to do:

http://forums.macosxhints.com/showthread.php?t=27918

Pseudocode:

Prompt "say some numbers"
-- I say 2467
You said "2467

Bruce,
I have a script I occasionally use to do my roll call.
It seems to me that speechrecognition was slightly better vin SL, but I did not have the opportunity to test them well.
This week hopefully.
I do not have that script with me, and it uses either number or excel to get the name of the students.


But I have a script that I use to start it.
<script>
set lista to {}
repeat with l from 0 to 100
	set end of lista to (l as string)
end repeat
set a to item 1 of lista
set z to last item of lista

tell application "SpeechRecognitionServer"
try
set k to listen for lista giving up after 25 with prompt "please choose an integer number from " & a & " to " & z
on error e
say (e as string)
end try
repeat with l in lista
set l to contents of l as string
if k is l then say "You've selected " & l & "!"
end repeat
end tell


</script>









Deivy Petrescu
email@hidden



_______________________________________________
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: Speakable Item and SpeechRecognitionServer
      • From: Bruce Robertson <email@hidden>
References: 
 >Re: Speakable Item and SpeechRecognitionServer (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: selecting a message in Mail
  • Next by Date: Re: Speakable Item and SpeechRecognitionServer
  • Previous by thread: Re: Speakable Item and SpeechRecognitionServer
  • Next by thread: Re: Speakable Item and SpeechRecognitionServer
  • Index(es):
    • Date
    • Thread