• 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: Failure to duplicate file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure to duplicate file


  • Subject: Re: Failure to duplicate file
  • From: "Stockly, Ed" <email@hidden>
  • Date: Thu, 31 Jan 2008 15:20:50 -0800
  • Thread-topic: Failure to duplicate file

> This seems to work sometimes and sometimes it doesn¹t:
>
 tell application ³Finder²
    set backedupFile to duplicate existingFile to folder backupFolder with
replacing
 end tell
>
> Where existingFile and backupFolder are variables of class alias that point
> to an afp mounted volume.

If you're using aliases for these commands, you need to drop the word
"Folder"


tell application "Finder"
    set backedupFile to duplicate existingFile to backupFolder with
replacing
end tell

ES

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: UUID
  • Next by Date: Re: UUID
  • Previous by thread: Re: Failure to duplicate file
  • Next by thread: Loops
  • Index(es):
    • Date
    • Thread