我们有一个samba共享,我想从哪里复制文件夹与一个applescript。这是我已经有(安装工程):将装载的文件夹复制到本地文件夹
mount volume "smb://samba.com/e_18_data11$"
delay 3
set sourcefolder to ("smb://samba.com/e_18_data11$/e_18_data11$/folder1/folder2" as POSIX file)
set localfolder to ("/Users/username/Dropbox/Test" as POSIX file)
tell application "Finder" to duplicate sourcefolder to localfolder
这给了我还是这个错误:
the routine can not edit objects of this class." number -10010
我试图和已经在如此地结合了许多解决方案,例如this solution
- OS X 10.9
==>拖到从Finder中的实际sourcefolder到您的AppleScript。它应该将路径粘贴到脚本中。为源文件夹使用该路径。我认为应该这样做。 – 2013-11-20 19:01:14