我知道它是一个愚蠢的问题但不知何故我输入的命令不起作用
set deleteFile to srcTemp & "Archive.zip"
--deleteFile path is something like this /Users/home/Desktop/Archive.zip
tell application "Finder"
move POSIX file "" & deleteFile & "" to trash
--move file "\"" & destNoQuote & "Archive.zip\"" to trash
empty the trash
end tell
Run Code Online (Sandbox Code Playgroud)
但我得到一个错误,说无法找到POSIX文件.