我正在尝试使用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)
有什么问题?
答案 0 :(得分:5)
它在我的电脑上工作正常。 我想也许你可以尝试这些东西:
我遇到过类似的问题。