• 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
speech recognition server command not very sure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

speech recognition server command not very sure


  • Subject: speech recognition server command not very sure
  • From: Yuma Antoine Decaux <email@hidden>
  • Date: Tue, 29 Dec 2009 20:41:43 +0700

Hi,

I have this piece of code, which i have made to test before including more, and wonderingwhere i went wrong with it:

say "Would you like me to check for viruses on the system?"
tell application "SpeechRecognitionServer"
listen for "yes"
if text is "yes" then say "right away sir!"
end if
end tell


Basically, the script will run when i lock and unlock the macbook, and i'd like the speech rec server to listen for a yes.

But i just doesn't register what i say, and times out on default.

Do i have to include the yes text in the folder of global commands folder, or is there something really wrong in the above code?

Thanks for some enlightement

Yuma


Yuma Decaux

Light has no value without darkness
Skype: shainobi1
blog: www.theblindsamurai.com
twitter: www.twitter.com/triple7
Tel: +85513623378





 _______________________________________________
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

  • Prev by Date: Re: How to read/set two Finder "display window"
  • Next by Date: Re: How to read/set two Finder "display window"
  • Previous by thread: Re: How to read/set two Finder "display window"
  • Next by thread: Re: AppleScript-Users Digest, Vol 6, Issue 655
  • Index(es):
    • Date
    • Thread