0
我一直在试图制作一个简单的应用程序,它将选定的文件复制到预定的目录,只有在shell脚本中设置该变量不起作用。我想知道是否有方法来复制或移动命令以使其生效。脚本如下。在执行shell脚本的过程中设置命令
set filepath to POSIX path of (choose file with prompt "Chose your file")
delay
do shell script "cp " & filepath & " ~/Library/Application Support/"
感谢您的快速响应。这很好,我现在有程序工作!这正是我需要的!谢谢! – user7439349