Re: Sometime error -10006 copying a folder
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