Re: Finder Error when duplicating files and folders???
Re: Finder Error when duplicating files and folders???
- Subject: Re: Finder Error when duplicating files and folders???
- From: Graff <email@hidden>
- Date: Thu, 24 Jun 2004 16:03:12 -0400
Does the user who is running the script have write permission for both
the vOutputFolder and any file that might need to be replaced when you
duplicate vMasterFilePath? If not then you'll have to change the
permissions before you attempt the duplication or perform the action as
a user with the proper permissions.
- Ken
On Jun 24, 2004, at 3:41 PM, Jason Bourque wrote:
Hello,
I get "Finder got an error: The operation could not be completed." on
most
attempts of using this duplication script.
tell application "Finder"
if (exists file vMasterFilePath) and (exists folder vOutputFolder)
then
-- update folder vOutputFolder
duplicate file vMasterFilePath to folder vOutputFolder with
replacing
end if
end tell
Just so you know I am on OS 10.3.4 and coping to two locations
1. Xserve with OS X SERVER 10.2.8
2. local partitioned drive with a folder on the top level of a disk
that has
a system installed.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.