Re: copying a list of files
Re: copying a list of files
- Subject: Re: copying a list of files
- From: JollyRoger <email@hidden>
- Date: Wed, 14 Feb 2001 17:32:46 -0600
on 2/14/2001 7:07 PM, Edmond Cho at email@hidden wrote:
>
Hello,
>
I have a script that collects a list of files according to certain search
>
criteria. I have been trying to copy said list in one multi-file copy
>
operation.
>
>
I understand that the syntax is:
>
>
copy {file "file1", file "file2"} to folder f
Did you not receive my reply to your question on the list? Here it is
again:
Hi Edmond,
The AppleScript "copy" command is not the same as the Finder's "duplicate"
command. The copy command is functioning exactly as it should. If you want
to duplicate or move files, you must use the Finder or a scripting addition
to do it.
Drag the Finder icon over your script editor to see the "duplicate" command
syntax:
duplicate : Duplicate one or more object(s)
duplicate reference -- the object(s) to duplicate
[to location reference] -- the new location for the object(s)
[replacing boolean] -- Specifies whether or not to replace items in
the destination that have the same name as items being duplicated
[routing suppressed boolean] -- Specifies whether or not to
autoroute items (default is false). Only applies when copying to the system
folder.
Result : reference -- to the duplicated object(s)
HTH
JR