• 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: Jolly Roger <email@hidden>
  • Date: Wed, 14 Feb 2001 14:01:21 -0600
  • Replyto: email@hidden

on 2/14/2001 7:07 PM, Edmond Cho (email@hidden) wrote:

> copy filelist to folder f
> or
> copy {filelist} to folder f
>
> instead of copying the list of files, it sets the variable filelist to the
> value of the alias f.
>
> What am I missing about this? I can get it to work by a repeat loop, copying
> each item in filelist, but I thought it might work faster by passing the
> whole list at once to the copy operation.

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: re: mount volume & netatalk (was Re: Mount volume, slash problem)
  • Next by Date: Re: Q: Passing values to VBA macros (Word 98)
  • Previous by thread: copying a list of files
  • Next by thread: Re: copying a list of files
  • Index(es):
    • Date
    • Thread