【发布时间】:2014-03-20 02:23:35
【问题描述】:
我已经检查过 Stackoverflow 中类似问题的先前答案,即使使用 move 功能的最基本的句子似乎也存在问题。就我而言,我使用的是以下脚本。
set theFile to "Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv"
set theFolder to "Macintosh HD/Users/sergioguerra1/Desktop/Detektor/Etapa II/"
tell application "Finder"
move file theFile to folder theFolder with replacing
end tell
我收到以下错误:
"error "Finder 出错:无法获取文件 \"Macintosh HD/Users/sergioguerra1/Downloads/Reporte General.csv\"。" 编号 -1728 来自文件 "Macintosh HD/Users/sergioguerra1/Downloads/ Reporte General.csv""
我稍微改了一下脚本
tell application "Finder"
move theFile to theFolder with replacing
end tell
我得到一个不同的错误
"error "Finder 出错:AppleEvent 处理程序失败。" number -10000"
这是一个非常简单的代码,但不起作用。任何人都可以找到错误吗?是小牛队的事吗?
【问题讨论】:
标签: csv applescript