macos - 执行错误 : Finder got an error: Application isn’t running. (-600)

标签 macos applescript

我正在尝试使用 AppleScript 制作别名。我使用的是 Mac OS X 10.9.3(小牛队)。

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 got an error: Application isn’t running. (-600),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24196536/

    相关文章:

    python - macOS Sierra - 如何使用命令行启用 "Allow Remote Automation"

    php - 如何在 Mac OS ( OS X 10.10) 中将 php-cgi 作为插件安装?

    AppleScript:从 shebang'ed 脚本启动某些应用程序时执行错误 -10810

    c++ - 禁止MAC地址访问某个端口 - C++

    c++ - 使用 Xcode 分析 C++

    macos - 如何清除 Mac OS 终端上的一行?

    email - AppleScript 和 Mail.app : checking if new messages contain a string

    compiler-errors - 脚本新手: error "Finder got an error: Can’ t get folder

    swift - 如何获取具有键盘/鼠标焦点的 Mac OS X 应用程序的显示范围?

    applescript - 告诉应用程序 - 字符串与字符串?