【问题标题】:execution error: Finder got an error: Application isn’t running. (-600)执行错误:Finder 出现错误:应用程序未运行。 (-600)
【发布时间】:2014-08-03 11:52:21
【问题描述】:

我正在尝试使用 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)

怎么了?

【问题讨论】:

  • /Users/sato/src/test.txt 是你的脚本吗?
  • 我在命令行中做
  • sato,我测试和测试,脚本为我运行。 “应用未运行”很奇怪。

标签: macos applescript


【解决方案1】:

它在我的电脑上运行良好。 我想也许你可以试试这些东西:

  1. 尝试重新启动 Finder;
  2. 尝试重新启动 Applescript 编辑器;
  3. 尝试重新启动计算机。

我也遇到过类似的问题。

【讨论】:

猜你喜欢
  • 2014-05-14
  • 2018-08-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-06-10
相关资源
最近更新 更多