How can I make applescript voice recognition listen for any word? This is what I have so far:
tell application "System Events"
keystroke "c" using {command down}
end tell
tell application "iCal" to activate
tell application "System Events"
keystroke "n" using {command down}
keystroke "v" using {command down}
keystroke return
end tell
I would like to substitute the copy on the first line to listen for any words.
Speakable items have to be enabled first:
See http://macscripter.net/viewtopic.php?id=24662 for more detailed instructions.