Sometime error -10006 copying a folder
Sometime error -10006 copying a folder
- Subject: Sometime error -10006 copying a folder
- From: Thomas Summerall <email@hidden>
- Date: Wed, 05 Mar 2008 12:31:59 -0500
I have written our Photoshop plug-in's installer in AppleScript. Generally it works great. The installation is very simple, I simply tell the finder to duplicate our product folder from inside the installer apps package to Photoshop's plug-ins folder, which has been chosen by the user using folder select.
Some users (a small percentage) have been reporting a -10006 error in this form:
-- Finder got an error: Cant set folder "OSX:Applications:Adobe Photoshop CS3:Plug-Ins" to folder "Installer Disk:Installer.app:Contents:Product Folder". (-10006)
The code in applescript is pretty straightforward:
tell application finder
duplicate (folder (myPath as string)) to (folder (destPath as string))
end tell
I can't duplicate the error on any machine here. At first I thought it might be a permissions issue, but when I try to create that situation I get a different, permissions-specific error.
The source folder is on a non-writable compressed disk image.
Any ideas?
Thank you!
Tom Summerall
_______________________________________________
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