2011-10-06 2 views
1

어떻게하면 applescript 음성 인식이 어떤 단어라도들을 수 있습니까? 이것은 내가 지금까지 가지고있는 것입니다 :어떻게하면 applescript 음성 인식이 어떤 단어라도들을 수 있습니까?

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 

나는 어떤 단어라도들을 수 있도록 첫 줄에 사본을 바꾸고 싶습니다.

+0

AppleScript가 음성 인식과 어떻게 관련이 있는지 알지 못합니다. –

답변

3
tell application "SpeechRecognitionServer" 
    set answer to listen for {"yes", "no"} with prompt "prompt" 
    --hold the listening key (by default escape) to record an answer 
end tell 

읽기 가능해 항목을 먼저 활성화되어야한다 :

더 자세한 설명은 http://macscripter.net/viewtopic.php?id=24662 참조하십시오.