• 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: newbie: How do you copy files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie: How do you copy files?


  • Subject: Re: newbie: How do you copy files?
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 27 Aug 2002 21:51:05 -0700

On Tuesday, August 27, 2002, at 06:38 PM, Joel May wrote:

I've got 'AppleScript in a Nutshell.' I can find documenation on how to
move files and how to delete files. But how do you COPY files? I have
a folder of files that I want to copy to another disk. I must be
missing something.

This works for me.

set foo to choose file
tell application "Finder"
duplicate foo to folder "Dora:Documents"
end tell

I can't copy/duplicate to the root of a disk, though, just to folders within the disk.

AS 1.8.3, OS X 10.1.5

--Michelle

We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.

References: 
 >newbie: How do you copy files? (From: "Joel May" <email@hidden>)

  • Prev by Date: Re: Storing preferences...
  • Next by Date: AppleScript Try
  • Previous by thread: Re: Storing preferences...
  • Next by thread: Re: newbie: How do you copy files?
  • Index(es):
    • Date
    • Thread