Re: Speakable Item and SpeechRecognitionServer
Re: Speakable Item and SpeechRecognitionServer
- Subject: Re: Speakable Item and SpeechRecognitionServer
- From: Bruce Robertson <email@hidden>
- Date: Wed, 9 Dec 2009 11:57:54 -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!
>
> Deivy Petrescu
> email@hidden
>
Though your example doesn't meet my need, I have tried to get it to work; and I have not been successful.
Even if it recognizes the phrase, it never says "it worked"
In addition, I have experienced large delays if I try to run the script a second time.
Even using timeouts does not seem to fix the re-run delay problem.
Is anybody able to get this to work? _______________________________________________
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