먼저 저는 사과와 Mac OS를 처음 접하게됩니다.AppleScript의 차이점은 10.6에서 10.7까지입니다.
내 자바 프로그램 내에서 맞춤법 검사기를 사용하는 10.6를위한 스크립트를 작성했습니다 : 오류 콘솔도 AppleScript로에서 좋은 일
tell application "Automator Runner"
set mySpellChecker to call method "sharedSpellChecker" of class "NSSpellChecker"
set foundLanguages to call method "availableLanguages" of mySpellChecker
end tell
10.7.2에서
10.6에서하지만 지금은 발생 : 라인의
tell application "Automator Runner"
set mySpellChecker to call **method** "sharedSpellChecker" of class "NSSpellChecker"
set foundWords to call method "availableLanguages" of mySpellChecker
end tell
** 예상 끝이 아니라 식별자를 발견했다.
누구든지 10.6에서 10.7로 변경된 사항을 알려주십시오. 변경 로그에서 AppleScript 변경 또는 맞춤법 검사기 API를 사용한 변경을 찾을 수 없습니다. 또한 같은 오류로 "to call method ..."를 사용하는 웹의 다른 스크립트가 실패합니다.