우리는 어디에서 applescript가있는 폴더를 복사하고 싶은가의 삼바 공유를 가지고 있습니다.마운트 된 폴더를 로컬 폴더에 복사
the routine can not edit objects of this class." number -10010
내가, 예를 들어, 시도 및 SO 이미 많은 솔루션을 결합 :
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
이이 오류가 계속 저를 준다 : 이것은 내가 이미 (설치 작품)이 무엇인가 this solution
- OS X 그것은 아마도 잘못입니다 sourcefolder
사양의 10.9
가 ==> 당신의 애플 스크립트로 파인더에서 실제 sourcefolder를 드래그해야합니다. 경로를 스크립트에 붙여 넣어야합니다. sourcefolder에 해당 경로를 사용하십시오. 나는 그 트릭을해야한다고 생각해. –