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

Failure to duplicate file


  • Subject: Failure to duplicate file
  • From: Jim Skibbie <email@hidden>
  • Date: Thu, 31 Jan 2008 12:08:39 -0600
  • Thread-topic: Failure to duplicate file

Title: Failure to duplicate file
Is it me or is the Finder really flaky under Applescript? I don’t understand this Applescript stuff some days...

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.

Sometimes this command works, sometimes I get an error that says “Get failed: no such object (e.g. Specifier asked for the 3rd, but there are only 2)(errAENoSuchObject-1728)”

Any suggestions?
 _______________________________________________
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

  • Follow-Ups:
    • Re: Failure to duplicate file
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: UUID
  • Next by Date: Re: UUID
  • Previous by thread: selective deletion of footnote references in MS Word 2004...
  • Next by thread: Re: Failure to duplicate file
  • Index(es):
    • Date
    • Thread