我正在尝试使用AppleScript创建别名。我正在使用Mac OS X 10.9.3(Mavericks)。

sato ~ $ ll /Users/sato/src/test.txt
-rw-r--r-- 1 sato staff 18410 Jun 13 10:36 /Users/sato/src/test.txt
sato ~ $ ll dst/
total 0
sato ~ :( $ osascript -e 'tell application "Finder" to make alias file to POSIX file "/Users/sato/src/test.txt" at POSIX file "/Users/sato/dst"'
29:121: execution error: Finder got an error: Application isn’t running. (-600)
sato ~ :( $ osascript -e 'tell application "Finder" to make alias file to POSIX file "/Users/sato/src/test.txt" at POSIX file "/Users/sato/dst/"'
29:122: execution error: Finder got an error: Application isn’t running. (-600)
sato ~ :( $ osascript -e 'tell application "Finder" to make alias file to POSIX file "/Users/sato/src/test.txt" at POSIX file "/Users/sato/dst/link"'
29:126: execution error: Finder got an error: Application isn’t running. (-600)

怎么了?

最佳答案

它在我的计算机上工作正常。
我认为也许您可以尝试以下操作:

  • 尝试重新启动Finder;
  • 尝试重新启动Applescript编辑器;
  • 尝试重新启动计算机。

  • 我也遇到过类似的问题。

    关于macos - 执行错误:Finder出现错误:应用程序未运行。 (-600),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/24196536/

    10-09 21:08