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!
tell application "iChat"
activate
set status to available
beep
end tell
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!