• 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: Bruce Robertson <email@hidden>
  • Date: Sat, 19 Sep 2009 17:48:14 -0700
  • Thread-topic: Speakable Item and SpeechRecognitionServer

>>>> 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>
>>
>> Thanks. I'd like to get to 4 digits.
>>
>> Apparenlty there is a listen continuously command but I can't get it
>> to
>> work.
>>
> Listen continuously does not work.
> I  have a bug filled on that.
> However, I think you can use 4 digits if you want.
>
>
> Deivy Petrescu
> email@hidden

Did you try it?

No, you can't. You can't say one two seven six.

In your script, you must say eighty-seven; you can't say eight seven.

If you get into the hundreds, you must say two hundred and eighty seven.
You cannot say two eight seven.

I want to just speak a series of digits. Allowing a flexible count would be
good; but having a hard wired value of four would be OK.

Bruce Robertson


 _______________________________________________
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

References: 
 >Re: Speakable Item and SpeechRecognitionServer (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Speakable Item and SpeechRecognitionServer
  • Next by Date: Snow Leopard and (old) AppleScript applications
  • Previous by thread: Re: Speakable Item and SpeechRecognitionServer
  • Next by thread: Re: Speakable Item and SpeechRecognitionServer
  • Index(es):
    • Date
    • Thread