• 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: Simple Addition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Addition


  • Subject: Re: Simple Addition
  • From: Bill White <email@hidden>
  • Date: Fri, 21 Jan 2005 14:12:02 -0500

On 1/21/05 2:03 PM, email@hidden
<email@hidden> wrote:

> overwriting the duplicte if it already exists, disregarding creation dates:

> on open (someItem)
> tell application "Finder"
> duplicate someItem to folder "Duplicate Folder" of disk "AppleScript
> Drive"
> end tell
> beep 2
> end open

Add "with replacing" to the end of the "duplicate" line:

duplicate someItem to folder "Duplicate Folder" of disk "AppleScript  Drive"
with replacing  -- all on one line!

HTH,

Bill


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Simple Addition (From: "email@hidden" <email@hidden>)

  • Prev by Date: Simple Addition
  • Next by Date: Re: how to copy a file
  • Previous by thread: Simple Addition
  • Next by thread: Re: Simple Addition
  • Index(es):
    • Date
    • Thread