Re: Speakable Item and SpeechRecognitionServer
Re: Speakable Item and SpeechRecognitionServer
- Subject: Re: Speakable Item and SpeechRecognitionServer
- From: Bruce Robertson <email@hidden>
- Date: Tue, 8 Dec 2009 18:47:36 -0800
On Dec 8, 2009, at 6:35 PM, Deivy Petrescu wrote:
>
> On Dec 8, 2009, at 6:50 PM, Bruce Robertson wrote:
>
>> Just thought I'd try this again in case anybody came up with ideas.
>>
>> I have still not found a way to speak an arbitrary number sequence and have
>> it recognized; or a mixed sequence of fixed and arbitrary data such as:
>>
>> "Find phone 1234"
>>
>> Or:
>>
>> "Find phone 5513"
>>
>>
>
>
> Bruce:
>
> <script>
> set j to "1 2 3 4 5"
> tell application "SpeechRecognitionServer" to set l to listen for j with prompt "Say " & j & " now" giving up after 15
> if l = j then say "it worked"
>
> </script>
>
> I thought I sent it to you a while ago!
And I replied that you misunderstand the problem and your solution is not workable.
Once again: the problem statement is to read an arbitrary string of numbers and have them be recognized.
The string might be preceded by a known string ("Find phone" ) but the solution must be able to recognize any following string of four numbers.
There is no "set J"; it isn't known ahead of time.
Bruce _______________________________________________
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