custom applescripts for speech recognition

Discussion in 'Mac Apps and Mac App Store' started by Macco, Mar 26, 2004.

  1. Macco macrumors regular

    Joined:
    Jun 15, 2003
    #1
    Does anyone know how to create an applescript and then use it with the speech recognition technology, i.e. say its name and the script executes? I created the following applescript:

    and named it "Start chatting." I want it to open iChat if it is not already open, and set my status to available. The script works fine when I double-click it. I placed it in the directory ~/Library/Speech/Speakable Items. I know that speech recognition is turned on, and "Start chatting" even shows up in the speech commands window. However, whenever I say "Start chatting," nothing happens. I know that it recognizes what I say, because the little yellow rectangle appears above the speech window. If anyone could help me, that would be great. Thanks!
     
  2. OutThere macrumors 603

    OutThere

    Joined:
    Dec 19, 2002
    Location:
    NYC
    #2
    Speech recognition can be a bit dodgy at best...

    Try changing the names on the scripts to stuff that might be easier for it to understand. I have found that speech recognition only works for me about once every ten tries.
     
  3. Macco thread starter macrumors regular

    Joined:
    Jun 15, 2003
    #3
    Thanks, but it definitely recognizes what I say. I tried changing the name, and even though the name of the command appears above that circular window after I say it, nothing happens.
     
  4. HexMonkey Administrator

    HexMonkey

    Staff Member

    Joined:
    Feb 5, 2004
    Location:
    New Zealand
    #4
    What format did you save the script as? I tried two formats, script and application, and although it recognised both commands, only the application would be run, the script would just be ignored.
     
  5. Macco thread starter macrumors regular

    Joined:
    Jun 15, 2003
    #5
    Thanks! It works now. Speech recognition... so much fun...
     

Share This Page