문제

Osascript in terminal always returns this error for the simplest function.
When i run the script in ApplescriptEditor it runs fine…

e.g.:

$: osascript -e 'tell application "iTerm" to display dialog "Hello World"'

2014-01-22 11:59:19.822 osascript[665:707] Cannot find executable for CFBundle 0x7fa3f42032e0 </Library/ScriptingAdditions/AeroFSFinderExtension.osax> (not loaded)
osascript: OpenScripting.framework - scripting addition
"/Library/ScriptingAdditions/AeroFSFinderExtension.osax" declares no loadable handlers.
button returned:OK

I already reinstalled XCode and CLL (Using Appcleaner)

Does anybody know how to fix this error? (Or at least silence it…)

I'm on 10.8.5

도움이 되었습니까?

해결책

What is /Library/ScriptingAdditions/AeroFSFinderExtension.osax?

Looks like it's a broken scripting addition, and if it's not actually needed, simply try to remove the file (you'll need admin privileges), then run osascript again.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top