まず、私はappleとmac osの初心者です。AppleScriptとの違いは10.6から10.7まで
私はJavaでプログラム内のスペルチェッカを使用する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 ..."を使ったWebからの他のスクリプトも同じエラーで失敗します。