• 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: move theFile to thePath replacing no
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: move theFile to thePath replacing no


  • Subject: Re: move theFile to thePath replacing no
  • From: Gary Lists <email@hidden>
  • Date: Fri, 25 Jul 2003 04:49:01 -0400

On or about 7/25/03 4:27 AM, Johnny AppleScript wrote:

> Tell application "Finder"
> move theFile to thePath replacing no
> --> -15267: An item with the same name already exists in the destination.
> End tell
>
> Shouldn't the 'replacing no' above append the file name instead of returning
> an error?

Append a file name? What does that mean? Do you want to add the content of
one file to another file?

The 'replacing no' means without replacing.

If you want one file to _overwrite_ another with the same name then that
_would be_ replacing the file. Remove that phrase if you want that
behaviour.

--
Gary
_______________________________________________
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.

  • Follow-Ups:
    • Re: move theFile to thePath replacing no
      • From: John Delacour <email@hidden>
References: 
 >move theFile to thePath replacing no (From: Johnny AppleScript <email@hidden>)

  • Prev by Date: Re: Accessing a <<class X>> property of record
  • Next by Date: Re: move theFile to thePath replacing no
  • Previous by thread: move theFile to thePath replacing no
  • Next by thread: Re: move theFile to thePath replacing no
  • Index(es):
    • Date
    • Thread