Re: copy command with replacing?
Re: copy command with replacing?
- Subject: Re: copy command with replacing?
- From: Steve Thompson <email@hidden>
- Date: Thu, 09 Aug 2001 19:24:21 +0100
On 8/8/01 9:31 pm, "email@hidden" <email@hidden>
wrote:
>
Can a 'guy use the replacing command in the finder when copying a file from
>
one disk to another? I can't seem to find anything about it...
>
>
I'm trying something like the following and it won't work. Errors "...
>
replacing can't go after..."
>
>
tell app "Finder"
>
copy file "test.jpg" of desktop to folder "test folder" of desktop
>
end
>
Move will move the file in the same way that dragging a file in the finder
works. If you want to leave test.jpg on the desktop while moving it to a
folder on the same disk, you should
duplicate file "test.jpg" of desktop to folder "test folder" of desktop
If you want to move test.jpg into a folder that may already contain test.jpg
Move file "test.jpg" of desktop to folder "test folder" of desktop with
replacing
HTH
Steve