• 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: Sometime error -10006 copying a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sometime error -10006 copying a folder


  • Subject: Re: Sometime error -10006 copying a folder
  • From: Ed Stockly <email@hidden>
  • Date: Wed, 5 Mar 2008 20:47:11 -0800

I found a clue.  If I have two installer images with the same name mounted then the installer fails with the -10006 error when it tries the Finder->duplicate command.


I'm thinking you may want to follow the advice to use alias.

When your user chooses the folder the result is an alias that will be locked into that folder, even if it moves or is renamed or even if another folder on a volume with the same name is mounted, the alias always refer to the user selected folder.

However, when you use the folder pathAsString route the finder starts from scratch and uses the first folder it finds that conforms to that path.



Also, "Finder" is capitalized in my code.


In the sample you provided finder wasn't in quotes, I think that's what the comment refered to.

HTH,

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

  • Follow-Ups:
    • Re: Sometime error -10006 copying a folder
      • From: Thomas Summerall <email@hidden>
  • Prev by Date: Re: Sometime error -10006 copying a folder
  • Next by Date: Choose file (SA) buggy ?
  • Previous by thread: Re: Sometime error -10006 copying a folder
  • Next by thread: Re: Sometime error -10006 copying a folder
  • Index(es):
    • Date
    • Thread