• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: copying a list of files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >copying a list of files (From: "Edmond Cho" <email@hidden>)

  • Prev by Date: using AS with QuickKeys to do things in non-scriptable app?
  • Next by Date: Re: what the ***? literal paths update "automatically"
  • Previous by thread: Re: copying a list of files
  • Next by thread: Q: Passing values to VBA macros (Word 98)
  • Index(es):
    • Date
    • Thread