Re: move theFile to thePath replacing no
Re: move theFile to thePath replacing no
- Subject: Re: move theFile to thePath replacing no
- From: Gary Lists <email@hidden>
- Date: Fri, 25 Jul 2003 04:49:01 -0400
On or about 7/25/03 4:27 AM, Johnny AppleScript wrote:
>
Tell application "Finder"
>
move theFile to thePath replacing no
>
--> -15267: An item with the same name already exists in the destination.
>
End tell
>
>
Shouldn't the 'replacing no' above append the file name instead of returning
>
an error?
Append a file name? What does that mean? Do you want to add the content of
one file to another file?
The 'replacing no' means without replacing.
If you want one file to _overwrite_ another with the same name then that
_would be_ replacing the file. Remove that phrase if you want that
behaviour.
--
Gary
_______________________________________________
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.