• 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
Duplicate with replacing and a full trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Duplicate with replacing and a full trash


  • Subject: Duplicate with replacing and a full trash
  • From: "John Tuttle" <email@hidden>
  • Date: Fri, 07 Dec 2001 07:51:16 -0600

A curious situation that I'm sure someone has run across.

I've written a short script which duplicates a large folder of files to an
external hard drive. I use the following AppleScript code:

Tell app "Finder"
Select folder "My Drive:My folder"
Duplicate selection to folder "External Drive:External Folder" with
replacing
End tell


It works just dandy save for the fact that the replaced file gets placed in
the trash and I then have to empty the trash. Not such a big deal but this
does not occur if I dragged the folder to the external drive by hand and
select the replace option when the dialog pops up.

Any takers?
--
John Tuttle


  • Prev by Date: Re: Send Apple Event from Browser to App on Client Mac
  • Next by Date: Re: Applescript Studio
  • Previous by thread: Re: Applescript Studio
  • Next by thread: Re: Duplicate with replacing and a full trash
  • Index(es):
    • Date
    • Thread