Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个automator脚本就是一个例子。当我显示路径时,它看起来是正确的,但是如果我尝试将文件复制到该路径,则会出现错误。
这是修复 - 需要的 posix 路径。
on run {input, parameters} set theFilePath to POSIX path of (input as string) & "/Samples" as string display dialog theFilePath return theFilePath end run