• 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
duplicating files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

duplicating files


  • Subject: duplicating files
  • From: "Stephen Gross" <email@hidden>
  • Date: Tue, 09 Jan 2001 15:24:52 -0500
  • Organization: Stuart Country Day School

I would like to know how to deal with overwrite errors. Here's my code:

=====
tell application "Finder"
duplicate file1 to location2 with replacing
end tell
=====

The problem is that if it does indeed need to replace an existing file,
I get a dialog box popping up asking for the confirmation. Is there a
way I can avoid this?

Thanks,
--SGross


  • Follow-Ups:
    • Re: duplicating files
      • From: Phi Sanders <email@hidden>
  • Prev by Date: Re: Applescript for changing case
  • Next by Date: Re: duplicating files
  • Previous by thread: Re: Aplescript for changing case (again)
  • Next by thread: Re: duplicating files
  • Index(es):
    • Date
    • Thread